[Bug 2009303] [NEW] Make font preferences for Arabic locale agnostic

Gunnar Hjalmarsson 2009303 at bugs.launchpad.net
Sun Mar 5 21:45:00 UTC 2023


Public bug reported:

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.

** Affects: language-selector (Ubuntu)
     Importance: Medium
     Assignee: Gunnar Hjalmarsson (gunnarhj)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/2009303

Title:
  Make font preferences for Arabic locale agnostic

Status in language-selector package in Ubuntu:
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/2009303/+subscriptions




More information about the foundations-bugs mailing list