itch.io icon indicating copy to clipboard operation
itch.io copied to clipboard

Serve lato cyrillic variant for "ru" locale

Open fasterthanlime opened this issue 6 years ago • 5 comments

The version of Lato we serve only has Latin characters, so, if you don't have the complete Lato variant installed locally, here's what you see with the "ru" locale:

image

image

We can probably have a variant of the font that we serve only for the ru locale.

This will come in handy for when we have to ship https://www.google.com/get/noto/help/cjk/ ;)

fasterthanlime avatar Feb 01 '19 17:02 fasterthanlime

I see there's an extended latin version of lato to download, is that the variant that has the needed characters?

leafo avatar Feb 01 '19 22:02 leafo

From http://www.latofonts.com/lato-free-fonts/ :

The ZIP con­tains two sub­fold­ers: Lato and Lato­Latin. The Lato sub­folder con­tains web­fonts with the com­plete char­ac­ter set (250−700 KB per font) while the Lato­Latin sub­folder con­tains smaller ver­sions that only include the most impor­tant glyphs for Euro­pean Latin-​​based lan­guages (75−200 KB per font). We do not pro­vide sup­port or instruc­tions how to install these fonts on your website!

I would assume "LatoLatin" is what we currently have and "Lato" is the full thing with Cyrillic, Greek, etc.

fasterthanlime avatar Feb 02 '19 16:02 fasterthanlime

Seems like Lato font is fixed now, thanks! But, just so you are aware, fonts available for game pages don't work well. Serif, Sans-serif, Pixel fonts have the same problem, see: 2019-02-06-010207_640x389_scrot Anonymous Pro, Lato, and custom Google fonts (supporting Cyrillic) seem to be fine.

quyse avatar Feb 05 '19 22:02 quyse

The issue still remains on the game jam page Screenshot 2023-12-14 at 12 31 40

drxwat avatar Dec 14 '23 05:12 drxwat

Indeed, it seems game jam pages miss the --itchio_default_font CSS variable.

quyse avatar Dec 14 '23 07:12 quyse