Make font preferences for Arabic locale agnostic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
Fix Released
|
Medium
|
Gunnar Hjalmarsson |
Bug Description
Currently — if fonts-noto-core and fonts-noto-ui-core are installed — fontconfig picks Noto Sans Arabic UI as the default sans-serif font for Arabic, but only under an Arabic locale. The latter is to avoid a change of the default sans-serif font (from DejaVu to Noto) for most other languages only by installing fonts-noto-core.
But with fontconfig 2.14.1-3ubuntu1 the prerequisites have changed. Noto is now preferred over DejaVu by default as soon as fonts-noto-core is present, irrespective of Ubuntu's custom file for Arabic.
https:/
So we can and should drop the requirement to run under an Arabic locale to have fontconfig pick the desired Noto fonts for Arabic.
This requires some investigation on how things actually work. One thing to look at is how the default font in the Firefox snap is determined.