Archived topic
Local font doesn`t load font family in incognito or for new users
14 replies · Started by Algirdas on February 22, 2023
Hello,
My website is https://algiukas.lt
Everything works fine with font family, if I am logged in.
But if I want to check my website through incognito, some local fonts doesn`t show font family
For example in the header slogan: "Užsisakyk autoserviso paslaugas internetu", word "Užsisakyk" has different style letter.
I tried to clear cache, purge everything, still nothing.
Please help
Hi there,
What is the different style? Can you explain a bit more?
Some of the local fonts doesnt inherit font family style: https://prnt.sc/9cTB4QlhgPmS
Hi Algirdas,
So we can take a closer look, can you provide admin login credentials?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Provided.
They're the same font from my end even when logged in. How did you try to set a different font for "Užsisakyk"? Right now, there seems to be no code or setting that turns it into a different font from the entire Headline.
I didn`t try to set different font.
This is the font I see, when I am logged in.https://prnt.sc/zNG7T8pa1uxD
This is the font I see when I am not logged in, and look through incognito. Also, if other people visit website, they also see this font: https://prnt.sc/9cTB4QlhgPmS
Do you see the difference between letter "Ž" ?
I see it now. Thank you for clarifying.
To debug, if you enable Google API for that font as opposed to the locally hosted font, does the issue also occur?
Can you help me, where should I enable it?
Hi there,
the title font on your site is using Quicksand, which doesn't support all the characters in the title.
See here:
https://fonts.google.com/specimen/Quicksand?preview.text=Užsisakyk&preview.text_type=custom
I assume you have a font on desktop device that does have those characters ?
But that doesn`t explain why on the same computer, if i am logged in, I see everything fine, as it should be .
Unfortunately, it's due to the font itself, not something the theme can control.
If you check this font in an incognito window, the letter ž won't show up at the first load as the font doesn't support it.
https://fonts.google.com/specimen/Quicksand?preview.text=U%C5%BEsisakyk&preview.text_type=custom
But if you refresh the page some more times, the letter ž eventually shows up.
I would recommend trying another font that fully support your language.
This letter Ž is from Lithuanian language. Quicksand does support this language: https://prnt.sc/G_P2MgBbUyra
Also you can check it in the Glyphs: https://fonts.google.com/specimen/Quicksand/glyphs?preview.text=U%C5%BEsisakyk&preview.text_type=custom
It does have that letter.
I'm sorry but this is not something the theme can control. You can try switching to another theme to test.
If you change to another font, does the issue still persist?
Yes.
It seems the problem is with Litespeed Cache plugin