fontconfig: keep binaries; add script to tools for additional fonts#2880
fontconfig: keep binaries; add script to tools for additional fonts#2880xzn wants to merge 1 commit into
Conversation
|
Tested on-device: Serif CJK overrides the system sans-serif UI font, breaking Chinese display. Maybe switch to Sans2.004? |
Good point! Added Sans and Mono fonts; also added fontconfig config file. Still not working in retroarch though hmmm, maybe will need to adjust font manually there. |
|
in which scenario is this usefull ? |
|
I haven't needed this personally, but there are games on Steam (say Touhou fangames) that has Chinese descriptions, which do not get displayed in the Steam store web browser due to lack of fonts. Likely the same for Heroic. For Retroarch the script now downloads Noto Sans CJK ttf fonts to
Not sure about EmulationStation though? It seems to have its own CJK fonts. |
Summary
Add
fc-cacheand friends binaries (they are less than half a megabyte total before compression) to allow updating fontconfig cache. (This is the main change)Add a script to install Noto CJK fonts, with placeholder image. (As an example but it's useful anyhow)
Testing
Fresh clean build on Ayn Thor. Newly installed fonts works in Steam and Heroic file browser. Should work anywhere where fontconfig is used.
Additional Context
Should supersede #2875
AI Usage
While ROCKNIX doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.
Did you use AI tools to help write this code? NO