https://bugs.kde.org/show_bug.cgi?id=509828
Bug ID: 509828
Summary: Font preview cannot show characters outside the Basic
Multilingual Plane (BMP) correctly
Classification: Applications
Product: systemsettings
Version First 6.4.5
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_fontinst
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Font preview cannot show characters outside the Basic Multilingual Plane (BMP)
correctly.
STEPS TO REPRODUCE
Take "二𫫇英" (U+4E8C U+2BAC7 U+82F1, meaning "dioxin" in Chinese) as an example.
Make sure you have installed a font that supports the second character "𫫇"
(U+2BAC7), such as Noto Sans/Serif [CJK] SC or Unifont.
1. Launch System Settings
2. Go to Text & Fonts → Font Management, and select a font mentioned above
3. Right click on the font preview, and select "Change Preview Text..."
4. Paste the text "二𫫇英" and press "OK"
OBSERVED RESULT
The preview becomes "二??英", where "?" indicates the notdef glyph.
EXPECTED RESULT
The text "二𫫇英" should be previewed correctly.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-arch2-1 (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
Since a single character becomes two notdef glyphs, I suspect it is a problem
related to UTF-16 handling failure.
--
You are receiving this mail because:
You are watching all bug changes.