• Resolved qph9697

    (@qph9697)


    Hi,

    I am having trouble downloading the fonts locally. I want to preload my all google fonts.

    Whenever I am clicking on “download”, this error pops up

    “cURL error 28: Resolving timed out after 5000 milliseconds”

    I am attaching a screenshot for your reference.

    Screenshot 1 – https://ibb.co/WHHppSz
    Screenshot 2 – https://ibb.co/WcJv7Kz

    This error also pops up when I am trying to go from the “Advanced Settings” tab to “Generate Stylesheet” tab.

    My Website is https://questionpapershub.com/home/

Viewing 7 replies - 31 through 37 (of 37 total)
  • Thread Starter qph9697

    (@qph9697)

    But when I untick “remove google font”, it gets back to the original state, which I had designed it for.

    Hi, I checked again and did some test, I found that the issues is not with the “remove google fonts”, but it happens when I switch my “font-display” option from “Auto” to “Swap”.

    The “swap” is not working & I am still seeing this error

    Ensure text remains visible during Webfont load

    and plus,
    my font-weights is also getting disturbed too, as mentioned in the previous post.

    For now, I have selected “Auto”, to maintain my font-styles.

    Please help me with this.
    Why am I still getting the same error in google page speed test & why is my font-weights changing?

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    After changing to ‘Swap’ you did regenerate the stylesheet?

    Thread Starter qph9697

    (@qph9697)

    After changing to ‘Swap’ you did regenerate the stylesheet?

    No, I didn’t do it.

    I will try just now.

    Thread Starter qph9697

    (@qph9697)

    Hi Thank you, for the info, it actually worked. The issue is gone from the speed test.

    But the font is style the same, it’s still “bold”.
    Also, does using the “swap” option adds any script in our main file.
    Because instead of decreasing the load time, the load time has increased.

    And after checking my page speed report, I found that my “main-thread work” & “javascript execution time” has increased, after enabling swap.

    I am attaching the screenshot of the reports, please have a look
    Before Swap – https://ibb.co/1JG4gZ8
    After Swap – https://ibb.co/rfz9dSn

    • This reply was modified 4 years, 6 months ago by qph9697.
    Thread Starter qph9697

    (@qph9697)

    But the font is style the same, it’s still “bold”.

    Hey I found the reason why, this is bold.

    I just checked that the contents for my body, I use Roboto 400 & Roboto 400 Italic.

    But the autodetect is not able to detect Roboto 400 & 400 Italic.

    Only 500 & 700 is only detected.

    Available subsets:
    Roboto
    Opensans
    Available fonts
    Roboto italic 500
    Roboto normal 700
    Roboto italic 700
    Opensans normal 700
    Opensans italic 700

    So it isn’t detecting Robot 400 & 400 italic.
    My theme is GeneratePress.

    Do you have any idea how can i get my 400 font weight?

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Good find!

    I’m definitely going to check why GeneratePress is giving issues with OMGF and release a compatibility fix when I find it.

    But for now, why don’t you make a screenshot of the fonts auto detect was able to detect and replicate the list using the search bar?

    Just search for the Fonts you need, and remove every font style you don’t need, from the search results. Then download the fonts and generate the stylesheet. You should be just fine ??

    Thread Starter qph9697

    (@qph9697)

    Yes sure, I will do it manually.

    Thank You.

Viewing 7 replies - 31 through 37 (of 37 total)
  • The topic ‘cURL error | Unable to download fonts’ is closed to new replies.