So I have a lot of websites for companies in Europe/Germany. Because of a new court ruling I have to completely remove any links to fonts.google.com, and replace everything with local fonts.
I am discovering that this is a lot of work.
First I added local fonts to the in the global fonts manager in Blocs preferences. Then I opened my project and unchecked “enable Google fonts”. Then I wen through all the typefaces in the project settings and selected the local fonts.
I thought this would be enough, but it’s not. I am still seeing the link to fonts.google in the head tag.
Now I’ve discovered that the reason for this is that every css style has to be manually checked and set to the corresponding local font. Oh boy
Update: so it would seem that there is really no advantage to setting fonts in the project settings box. Why do I say that?
Here’s an example: I set a standard font for H1 in the project settings “myfont”. At some point I made a custom class for H1 “header-red” and I set the font color and background color. I did not change to font setting.
Now I changed the standard font for H1 in the project settings from “myfont” to “yourfont”.
However, if I open the custom CSS class “header-red” the font shown is still the old font “myfont”.
it would make sense to me if I haven’t changed a font in a custom CSS class, it should always get the font set in the project settings.
When you apply a class it’s nested inside the HTML tag and you technically create a conflict in which the higher priority one takes precedence (your custom class).