Description of problem: gdm just using the default font rendering for languages in its language list. This hits the font ordering issues with pango for Unihan (ie particularly for Chinese and Japanese in this case): with current fedora font defaults Japanese gets displayed with a Chinese glyphs in a non-ja locale. How reproducible: every time Steps to Reproduce: 1. install rawhide 2. boot, firstboot and go to gdm lang list 3. look at rendering of ja and zh entries Actual results: 3. Japanese (日本語) is rendered with Chinese font. Expected results: 3. 日本語 should be in ja font Additional info: For F9 Live at least seems Japanese font was preferred somehow but that is bad for Chinese users of course.
Created attachment 311339 [details] lang-tag.patch Here is an untested patch.
Thanks for the patch. I tested it and it doesn't quite seem to have an affect. I think the problem is that normalized_language has the full locale name "ja_JP.UTF-8" but pango only understand the lang name "ja" in its tags if I understand correctly.
Created attachment 311430 [details] Nihongo.png Japanese for Japanese in the Japanese font.
Oh, I was applying the tag to the tooltip...
Created attachment 311445 [details] better patch
Thanks, Matthias! That works well - I also note that now the language order coincides with lang code which is better.
Oh, thats an artifact of sorting on the markup, which now has the lang tag as first differentiating part: <span lang="foo>Foo...