nightTab icon indicating copy to clipboard operation
nightTab copied to clipboard

Some cyrillic fonts don't work

Open Ratinod opened this issue 3 years ago • 5 comments

Some fonts (containing Cyrillic characters) do not change Cyrillic characters.

Fonts: Yuji Syuku Rampart One DotGothic16 Train One Stick (maybe others too)

  • OS: Windows 10
  • Browser: Firefox

Ratinod avatar Nov 25 '21 09:11 Ratinod

Hi, I've just checked and the font controls are working as expected. Trying the fonts you list works fine in my tests:

Screenshot 2021-11-25 at 10 59 45 Screenshot 2021-11-25 at 10 59 59 Screenshot 2021-11-25 at 11 00 10 Screenshot 2021-11-25 at 11 00 23 Screenshot 2021-11-25 at 11 00 34

This looks like a local issue on your system. Can you check to see if something is preventing access to https://fonts.google.com/ on your system? nightTab connects to fonts.google.com to use fonts.

zombieFox avatar Nov 25 '21 11:11 zombieFox

There is no problem with ASCII. The problem with the Cyrillic alphabet. Screenshot with "Test Проверка" : cerillic_not_work The website shows that Cyrillic is supported. Proof: example_cyr

Ratinod avatar Nov 25 '21 14:11 Ratinod

I've run some tests and I'm not sure why this is happening. I'll investigate and see what I can do.

zombieFox avatar Dec 02 '21 22:12 zombieFox

I've investigated and am finding a lot of inconsistency on font support. This project uses typekit webfontloader to load fonts.

Using Rampart One as an example font. webfontloader loads all of the subsets:

Screenshot 2021-12-31 at 12 06 28

Even so, the browser does not seem to render the appropriate glyphs for a given unicode character. But will for others. See Ж vs 言語:

Screenshot 2021-12-31 at 12 01 20

I've tested this with many cyrillic and japanese fonts. There might be a bug with webfontloader or the font might not be set up in a way to work as expected. I've exhausted all the avenues of investigation and do not know how to remedy this.

zombieFox avatar Dec 31 '21 12:12 zombieFox

This is sad news. It is a sad that no solution has been found. I am glad that at least some fonts work ... for the time being ...

Ratinod avatar Dec 31 '21 14:12 Ratinod