-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cyrillic rendering problem #325
Comments
Hmmm... I can see what is happening. In Liberation Mono the I also looked at Cascadia Code and its In IBM Plex Mono the JetBrains Mono the No sure why this Re Ukrainian: my understanding is the acute is used to indicate stress on vowels. |
It looks like there are multiple things going on here. The fonts set all of the characters on a 600 unit width so that it registers as a monowidth font on Mac and relies on some OpenType code to collapse the widths, but it seems that some environments are not accessing that code. Additionally, mark placement for Ukrainian stressed vowels doesn’t seem to be supported in the current version of the fonts. Will do some more checking into how to fix this when I pick this project up again. |
Okay, thanks for looking into this! |
Hi @kenmcd, I'm sorry, I missed this part. Yes, that is correct. It is only useful for things like dictionaries, etc. that mark word stress or introductory educational materials for non-native speakers. I have never really seen it used outside of cases like that. For an example of a font that renders this correctly, I'm using the font titled "Monospace" on Linux and it seems to render it properly. I've seen some fonts skew a little bit to the right but the ideal placement is centered over the letter. It gets a little bit more complicated with i-like letters (і and ї) because of the dot/dots, which can render like a difficult to read blob in some fonts. As long as it's clear that it's a stress mark as a opposed to a dot for і and [placed above but not covering the dots for ї, that should be good enough. The Wiktionary rendering for this word is actually a great example of how hard it can be to read when it all gets mushed together with the letter ї. The "Monospace" font that I mentioned before does a great job of handling both of these cases if you need an example. Here's a screen shot for both of these letters in that font. |
@jbaublitz Thanks for the info. |
The screenshot is from a monospace font, so it seems doable though I would have no idea where to begin, not being a font person. |
I found a version of Monospace font by George Williams. |
@kenmcd Substitute the dotted i for a dotless one when combined with a top accent. For example see https://googlefonts.github.io/gf-guide/diacritics.html#soft-dotted-glyphs |
Ukrainian Cyrillic letter
і
with unicode code pointu0301
should render asі́
. In Source Code Pro, I seem to be gettingі ́
. I originally thought this was a bug in Gnome font rendering, but it appears to only occur with this font.Here is the link to the Gnome issue where there was some additional debugging. https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/618
The text was updated successfully, but these errors were encountered: