https://bugzilla.redhat.com/show_bug.cgi?id=1556854
Bug ID: 1556854 Summary: Wrong cyrillic font Product: Fedora Version: 28 Component: abattis-cantarell-fonts Assignee: extras-orphan@fedoraproject.org Reporter: exalm7659@gmail.com QA Contact: extras-qa@fedoraproject.org CC: cosimo.cecchi@gmail.com, extras-orphan@fedoraproject.org, fonts-bugs@lists.fedoraproject.org, ian@ianweller.org, me@fale.io
Created attachment 1408414 --> https://bugzilla.redhat.com/attachment.cgi?id=1408414&action=edit Example 1
Description of problem: Since abattis-cantarell-fonts 0.100 in 28 and rawhide, cyrillic fonts are missing, so DejaVu Sans is used instead.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #1 from Mikhaylenko Alexander exalm7659@gmail.com --- Created attachment 1408415 --> https://bugzilla.redhat.com/attachment.cgi?id=1408415&action=edit Example 2
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #2 from Mikhaylenko Alexander exalm7659@gmail.com --- Created attachment 1408416 --> https://bugzilla.redhat.com/attachment.cgi?id=1408416&action=edit Example 3
The worst problem isn't that the font is different, but that cyrillic and latin use different fonts.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
Kalev Lember klember@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |klember@redhat.com
--- Comment #3 from Kalev Lember klember@redhat.com --- Could you file this upstream at https://bugzilla.gnome.org/enter_bug.cgi?product=cantarell-fonts please? We don't have anyone in the Fedora team working on Cantarell.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #4 from Mikhaylenko Alexander exalm7659@gmail.com --- The workaround suggested by upsteam is to use Noto Sans UI as fallback font.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #5 from Kalev Lember klember@redhat.com --- I filed https://pagure.io/fedora-workstation/issue/36 for using Noto Sans UI as fallback.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tagoh@redhat.com
--- Comment #6 from Akira TAGOH tagoh@redhat.com --- Created attachment 1408629 --> https://bugzilla.redhat.com/attachment.cgi?id=1408629&action=edit fallback to noto sans ui for cyrillic languages
Attached config will fall back to Noto Sans UI when Cantarell was requested.
What's your locale? if it's missing in config, this won't work.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #7 from Mikhaylenko Alexander exalm7659@gmail.com --- ru_RU.UTF-8, but there's also Serbian, and e.g. Kazakh, Bashkir, Tatar etc. Also AFAIK Greek is also missing.
From wikipedia: Slavic languages: Belarusian, Bulgarian, Macedonian, Russian, Rusyn, Serbo-Croatian (for Standard Serbian, Bosnian, and Montenegrin), Ukrainian Non-Slavic languages: Abkhaz, Aleut (now mostly in church texts), Bashkir, Chuvash, Erzya, Kazakh (to be replaced by Latin script by 2025[18]), Kildin Sami, Komi, Kyrgyz, Mari, Moksha, Mongolian, Ossetic, Romani (some dialects), Sakha/Yakut, Tajik, Tatar, Tlingit (now only in church texts), Tuvan, Udmurt, Yuit (Siberian Yupik), and Yupik (in Alaska). https://en.wikipedia.org/wiki/Cyrillic_script
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
Nikolaus Waxweiler madigens@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madigens@gmail.com
--- Comment #8 from Nikolaus Waxweiler madigens@gmail.com --- I think it's easier to prepend cantarell to the default font list for supported languages?
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #9 from Nicolas Mailhot nicolas.mailhot@laposte.net --- Please don't start inventing one of a kind fontconfig syntaxes
Apply the templates in fontpackages-devel, they've served us well for a decade without any spectacular failure
You want to substitute fonts? There is a substitution template. Read its doc and apply it
It will tell the substitution rule needs to go in the noto font package because 1. it's useless without the noto font files 2. when there is no cantarell font at all on the system you can the substitution to occur for the rest of the glyphs too
Also, it will tell you *not* to play locale restrictions as it's a recipe for more problems later if encoding coverage of the font files changes. If a design is visually compatible it's visually compatible for the whole font, not just parts of it.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #10 from Kalev Lember klember@redhat.com --- (In reply to Akira TAGOH from comment #6)
Created attachment 1408629 [details] fallback to noto sans ui for cyrillic languages
Attached config will fall back to Noto Sans UI when Cantarell was requested.
Akira, what do you think of Owen's proposal in https://pagure.io/fedora-workstation/issue/36#comment-499626 ? It certainly seems much simpler than listing out all individual languages where we want to do fallback.
https://bugzilla.redhat.com/show_bug.cgi?id=1556854
--- Comment #11 from Akira TAGOH tagoh@redhat.com --- (In reply to Kalev Lember from comment #10)
Akira, what do you think of Owen's proposal in https://pagure.io/fedora-workstation/issue/36#comment-499626 ? It certainly seems much simpler than listing out all individual languages where we want to do fallback.
As Owen said it's not tested, you need to check the difference of the language coverage because that way relies on it to fall back. if Cantarell is just missing all of languages which uses Cyrillic glyphs, that's okay. otherwise the unexpected languages will also be fell back to Noto.
fonts-bugs@lists.fedoraproject.org