Repository navigation
fix(userspace): noto-fonts-cjk, so the Steam UI, SteamVR's dashboard, the first-run setup and Plasma draw CJK text - #38
Conversation
… the first-run setup and Plasma draw Chinese, Japanese and Korean text
…ean, not every script but Latin, Greek and Cyrillic
|
Thanks @PigeonOuyang, that's a clear find, and the before/after with I checked the package against the image's repositories: One wording fix in the comment in I've started CI for this pull request. Once it's green, it can be merged. The regional variant ( |
Xenolphthalein
left a comment
There was a problem hiding this comment.
Holo's own package, checksum and size checked; CI green after re-running a 504 from Valve's mirror.
Problem
With the language set to Simplified Chinese, Japanese or Korean, every CJK glyph in the
Steam UI, SteamVR's dashboard, the first-run setup and Plasma is a tofu box.
Cause
The image has
noto-fonts(Latin, Greek, Cyrillic, ...) andnoto-fonts-emoji, but nonoto-fonts-cjk. Arch'snoto-fontslists CJK as an optional dependency(
noto-fonts-cjk: CJK characters). With no font covering Han, Kana or Hangul, fontconfigfalls back to a font without those glyphs and the text renders as
.notdefboxes. This isnot a kernel, driver or Steam bug.
Change
headsets/phoenix/packages.txt: addnoto-fonts-cjkheadsets/phoenix/packages.lock: addnoto-fonts-cjk-20240730-1-any.pkg.tar.zst(SHA-256
bab25db6...)Verification (PICO 4, SteamOS 7.2.0-pico4)
fc-list :lang=zh= 0;fc-match sans-serif:lang=zh-cnreturns Noto Sans(no Han glyphs)
fc-list :lang=zh= 80; Chinese and Japanese render in the Steam client's CEFwith its own
"Motiva Sans", Twemoji, "Noto Sans", Helvetica, sans-serifstack; no tofubab25db6...Known follow-up
fontconfig's generic family still resolves
sans-serif:lang=zh-cnto Noto Sans CJK JP andlang=arto Noto Nastaliq Urdu; those are regional-variant/family-selection issues, nottofu, and will be a separate PR.
Size
+188.75 MiB download / +298.79 MiB installed;
superis 8 GiB and the image about 4.6 GiB,so it fits.