Make font preferences for Arabic locale agnostic

Bug #2009303 reported by Gunnar Hjalmarsson
6
This bug affects 1 person
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://lists.ubuntu.com/archives/ubuntu-devel/2023-January/042449.html

So we can and should drop the requirement to run under an Arabic locale to have fontconfig pick the desired Noto fonts for Arabic.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package language-selector - 0.222

---------------
language-selector (0.222) mantic; urgency=medium

  * data/pkg_depends:
    - Always pull hunspell and myspell dicts
  * Switch to Noto as default font
    - Add 56-language-selector-prefer.conf
    - Drop 56-language-selector-ar.conf (no longer needed)
    - Simplify list of fonts pulled by check-language-support
    - Install extra fontconfig file for the snaps
    - This is a step to achieve the goal in
      https://discourse.ubuntu.com/t/36923
    - Fixes LP: #1866038 and LP: #2009303

 -- Gunnar Hjalmarsson <email address hidden> Wed, 19 Jul 2023 19:35:48 +0200

Changed in language-selector (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.