|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST2 Qt: Missing Chinese glyphs | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Poplar.at.twilight <poplar.cubic> |
| Component: | Installation | Assignee: | E-mail List <yast2-maintainers> |
| Status: | CONFIRMED --- | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | ancor, poplar.cubic, snwint, zhaoym233 |
| Version: | Current | Keywords: | accessibility, Chinese_Simplified |
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | Community User | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
first installer screen with Chinese selected in boot loader
first installer screen with Chinese selected in installer |
||
|
Description
Poplar.at.twilight
2024-08-01 00:23:21 UTC
This problem also exists in Legacy boot, but in Legacy boot, you can select the language in GRUB, and the result is the same as manually specifying the language as zh_CN at startup. Steffen (as main maintaner of int-sys). Do you have any idea on how to improve this? I personally wouldn't where to start. Note that parts of the UI show Chinese chars correctly. For example, the license text looks ok to. I would point in the general direction of bug 1216689. No, that's not it. I have an idea, let me check. The issue here is that for languages like Chinese (and Japanese, Korean) YaST dynamically loads the font package (arphic-uming-fonts.rpm for Chinese). Then parts of the UI start using uming.ttc, and some parts don't. Not sure if you have to 'refresh' QT widgets to make it aware of an updated font config or something similar. The problem is apparently not new and is also present in older Tumbleweed versions - but not so visible. I'll attach two screenshots to demonstrate the issue. Created attachment 876434 [details]
first installer screen with Chinese selected in boot loader
If you have Chinese pre-selected everything looks fine.
Created attachment 876435 [details]
first installer screen with Chinese selected in installer
If you start with English and then switch to Chinese in the installer, you
see a mix of bitmap glyphs and truetype glyphs.
This was done with an old Tumbleweed version (20240131). With current Tumbleweed
you get missing glyphs at places where bitmap glyphs used to be.
This is the font situation in TW-20240131: 1:vm4877:~ # fc-list :lang=zh /usr/share/fonts/misc/b16.pcf.gz: Efont Biwidth:style=Regular /usr/share/fonts/truetype/uming.ttc: AR PL UMing TW MBE:style=Light /usr/share/fonts/truetype/uming.ttc: AR PL UMing TW:style=Light /usr/share/fonts/truetype/uming.ttc: AR PL UMing CN:style=Light /usr/share/fonts/truetype/uming.ttc: AR PL UMing HK:style=Light But b16.pcf is now gone - this was the font used by fbiterm - which was dropped recently. TL;DR: the YaST UI does not reflect (in all places) the updated font config after adding the Chinese font package correctly. In the past, this led to a mix of bitmap and truetype glyphs. Now that the bitmap font is gone, this leads to missing glyphs. This is on the Qt libs level. The YaST Qt UI does not handle fonts on that level. I can of course just put back b16.pcf and you are happy with bitmaps... I guess that's much better than missing characters. (In reply to Steffen Winterfeldt from comment #10) > I can of course just put back b16.pcf and you are happy with bitmaps... Please do so. |