Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Local Google Fonts not working & broken Typography integration

  • Hi,

    I am a ‘One’ subscriber and I am currently struggling with the Typography settings. The integration between GeneratePress and GenerateBlocks Pro regarding local fonts feels broken? I need your help to resolve the following issues:

    1. Internal Download Tool failing: I tried using the internal tool to download Google Fonts (specifically ‘Lato’) locally. The process just hangs indefinitely (I waited for several minutes) and never completes. Why is the automatic download not working?

    2. Inconsistent Font List: Even though I have disabled Google Fonts in the settings, the entire list of Google Fonts still appears in the Customizer’s Typography section. This is confusing and leads to accidental external connections.

    3. Local Fonts not recognized: I have manually downloaded ‘Lato’ and placed it on my server, but I cannot find it under ‘System Fonts’. If I select ‘Lato’ from the Google Fonts list, the site immediately establishes a connection to Google’s servers (confirmed by GDPR checkers), even though I requested local loading.

    My Goal: I want to use ‘Lato’ 100% locally to comply with GDPR. I expect the ‘One’ suite to handle this without me having to manually edit PHP or CSS files.

    How can we fix this so that my local fonts are correctly recognized and all external calls to https://www.google.com/search?q=fonts.googleapis.com are completely removed?

    Looking forward to a swift resolution.

    Thanks a lot

    Stephan

  • Hi there.

    To achieve you goal, I think, it’s better if we solve your first issue of not being able to download Lato automatically from the Font Library. Can you describe the method you followed? To begin with, when you first visit the Font Library, you need to give initial permission to connect directly to Google servers.

    Google font permission

    Once you do that, you can search for the Lato font and click it, then on the next screen, you select the variants you want and click Install Selected

    Install Lato variants

    You should then get a Fonts were installed successfully. success message at the top if everything was done successfully.

    Does the process hang on this particular step? If it does this sounds like a server timeout or memory issue. Please, visit Tools->Site Health->Server and let us know the PHP time limit and PHP memory limit values.

  • Thank you very much George,

    indeed the process of installing the font starts and never ends… i had to stop it after some minutes. (I just tried to install one font).

    here is my memory data:
    Maximale PHP-Eingabe-Variablen (max_input_vars) 6000
    Maximale PHP-Ausführungszeit (max_execution_time) 60
    PHP-Arbeitsspeichergrenze (memory_limit) 512M
    Maximale Eingabe-Zeit (max_input_time) -1
    Maximale Dateigröße beim Upload (upload_max_filesize) 512M
    Maximale Größe der PHP-Post-Daten (post_max_size) 512M

  • Hi Stephan.

    Ok, it seems that max_execution_time is set to 60 seconds. That should be enough to download the font variants so there could be a Network/Firewall issue or some other related issue.

    You mentioned, you uploaded the Lato font in your server. Did you download the font files from the Google font website (list of .ttf files)? Did you use the Font Library tool to do that?

    Manually uploading Google font

    Do you see the font installed in the Font Library tab after your upload?

    Uploaded Google fonts

  • Because the download tool in GeneratePress’s Font Library wasn’t working, I downloaded the font directly from Google (via Takeout Helper) and installed it manually. (Font Library – Upload Custom Fonts) I now see Lato in the font list in the Font Library. The problem is: when I select Lato in the Customizers Typographie section, the font isn’t loaded locally, but rather via Google’s external server, even though I’ve configured it to block external Google fonts. I still see the entire list in the Customizer.

  • Can you link me to your site?

    And you should remove the Google font that is using Google API from the customizer > typography, only use the local Google fonts.

    If you can provide an admin login so I can take a look at the backend, that will be great!

  • Hi Ying,

    sorry for my late reply.

    I think I’ll postpone this issue for a while. I can’t currently imagine granting access to my backend, so for now I’ll make do by setting the system font to the system stack. Thanks anyway.

    I had hoped that the option to disable all Google fonts would actually disable them. However, if I now risk violating GDPR by making a selection in the Customizer, I unfortunately cannot take that risk.

    Kind regards
    Stephan

  • Ok, let us know when you need help with this again!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.