Repository navigation
chore(deps): pin punktfunk at the CJK font merge - #325
Merged
Merged
Conversation
PR #2388 merged as 7a4b0442a. The kit now draws a char Geist lacks in a system face; on the TV that is Skia's fontconfig manager, so no face is handed in. The pin also brings the host screen pick. This client has no display targets client: its rows carry no screens, so the shell shows no Screen section and never sends SetScreen.
webOS writes Chinese with its script, as zh-Hans-CN or zh-Hant-TW. The tag must reach pf-l10n whole for it to pick Simplified or Traditional.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins punktfunk at
7a4b0442a(PR #2388 merge): the console kit now draws a character Geist lacks (Japanese, Chinese, Korean) in a system face, and UI text follows the OS language.What changes
9eb2eb641→7a4b0442aon all five punktfunk crates. No lockfile churn beyond the rev.HostRowgainedscreensandConsoleCmdgainedSetScreen(host screen pick). This client has no/display/targetsclient, so rows carryscreens: None, the shell shows no Screen section, andSetScreenjoins the no-op arm.device::ui_languages()readsluna://com.webos.settingsservice/getSystemSettings{"keys":["localeInfo"]}→settings.localeInfo.locales.UIand hands the tag topf_l10n::set_languagesandConsoleOptions.languagesunchanged. webOS sends full BCP-47 tags (ja-JP,ko-KR,zh-Hans-CN,zh-Hant-TW,zh-Hant-HK), so there is no enum to map. A test now covers those tags passing through whole.skia-binaries-…-armv7-unknown-linux-gnueabi-ganesh-gl-jpegd-jpege-pdf-textlayout) buildsC_SkFontMgr_NewSystemasSkFontMgr_New_FontConfig(checked by relocation inlibskia-bindings.a), and the TV shipslibfontconfig.so.1.12.FontMgr::new()in the kit is therefore fontconfig, and its fallback reaches the TV's own fonts under/usr/share/fonts. No font bundled, no new library.Checked
task docker:check(armv7 cross): clean.task docker:lint(fmt + armv7 clippy-D warnings): clean.task docker:test(host target): 121 passed.Not checked
docker:build/packageand the webosbrew symbol gate were not run: no library or packaging change.On-device checks
日本語 한국어 简体 繁體) draws as glyphs, not boxes, on the console and in the stream overlay.ls /usr/share/fontsandls /etc/fontson the TV, then the same from inside the app's jail. fontconfig needs both its config and the font dirs visible; if only the files are visible, the fix is loading them forConsole::with_fallback_fonts.