~~I have been thinking it could be good to have a tool cli and/or gui/tui to add and remove langpacks and default fonts.~~
It could ~~also~~ handle CJK priorities and other things perhaps.
Need more details/scope to see if this makes sense
Reduced the scope to just CJK ordering for now.
See https://discussion.fedoraproject.org/t/cjk-font-preference-configuration/96397 for context.
We discussed this issue in today's meeting, and we agreed:
Some discussion from today's meeting * We had a little more discussion about this internally last week: from the Gnome perspective relying on envvars is not great, so maybe there should be some gsettings config to help control this * Pango first to have an API to apply a language, then gtk+ to access it through gsettings, finally gnome-settings-daemon to make it global in GNOME?
Another similar question https://discussion.fedoraproject.org/t/mutiple-locales-on-system-cjk-fallbacks/120082
Does it make sense to define an environment variable or fontconfig for ordering the language of unified characters? Something like FONTCONFIG_LANG=ja-jp;zh-tw;zh-cn. Can FC_LANG be used for this purpose?
FONTCONFIG_LANG=ja-jp;zh-tw;zh-cn
FC_LANG
You can but you need to make sure you have the primary lang id at the beginning of the list because this affects the default language. So given that there are one who speak English as the primarly language and want to learn Japanese like the above example, they may want to have FC_LANG=en:ja.
FC_LANG=en:ja
Metadata Update from @pnemade: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
I opened https://gitlab.gnome.org/GNOME/gtk/-/issues/7179 so we don't lose track of this.
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/i18n/i18n/issues/186
Please continue any further discussion there.