Enhance Persian Font Support
This change aims to provide a consistent experience for those who use Fedora in Persian or write or read Persian text in Fedora.
- Name: Hedayat Vatankhah
- Email: <email@example.com>
- Targeted release: Fedora Linux 37
- Last updated: 2022-08-01
- devel thread
- FESCo issue: #2801
- Tracker bug: #2095025
- Release notes tracker: #845
Traditionally, DejaVu fonts were used for Persian text in Fedora consistently; and considering the lack of suitable free Persian fonts, it was an acceptable choice (although some considered it to not be beautiful enough).
With changes in Fedora fonts in recent releases (mainly, addition of Droid & Noto fonts to default installation), Fedora provides an inconsistent experience for users who use Persian text and makes a bad impression on users. There are at least three different fonts used in a default Fedora Workstation for Sans Persian text in different situations, one of which is actually considered a cursive font for Persian.
Additionally, now we have a number of free Persian fonts, which can be used to present a more beautiful experience for Persian text. This change aims to:
- Provide a consistent default Sans font for Persian in Fedora, used in all appropriate places instead of multiple different fonts. Right now, the aim is to use Vazirmatn font as the default Persian font.
- Add new free Persian fonts to Fedora to provide a better experience for users who need them.
Benefit to Fedora
Enhances the experience of users of Persian text in Fedora, by providing a beautiful font to be used by default consistently and to provide modern free Persian fonts for users.
- Proposal owners:
- Package new free Persian fonts for Fedora (mainly Vazirmatn 2081539)
- Make the selected font the default one for Persian
- Try to find out why Firefox/Thunderbird doesn't follow system default font (optional) (mozilla #1770662)
- Update Fedora
comps.xmlto install the default font for Persian (PR #742)
- Provide PR for langpacks/lorax if needed for the new default Persian font (PR #19)
- Other developers:
- Might need some fixes in Firefox/Thunderbird to follow system default font when it is selected
- Might need changes in langpacks/lorax
- Release engineering: #Releng issue number
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A (not needed for this Change)
- Alignment with Objectives:
Default Persian font will be changed automatically on upgrades (if langpacks-fa package is installed).
How To Test
1. Make sure that vazirmatn-vf-fonts package is not installed. Log into Fedora Workstation in Persian (fa) locale. You should be able to observe DejaVu to be used by gnome, Firefox/Thunderbird use Noto Sans Arabic for tab headers, menus and some other texts in their UI, and any application (e.g. telegram-desktop from RPMFusion repositories) which needs either Open Sans or Driod Sans to use Driod Kufi fonts as show below:
2. Install the latest build of Fedora image with this change, or install
vazirmatn-vf-fonts package manually. You should see the new font (Vazirmatn) to be used everywhere by default and to be used as the fallback for Open Sans & Driod Sans fonts rather than Driod Kufi. Ideally, it should include Thunderbird/Firefox; but even without them the results are still desired:
Users who read/write Persian text in Fedora are presented with a new more beautiful font used by default consistently in all applications.
No hard dependencies, but an optional change might be needed in some packages (Firefox/Thunderbird) to provide a more consistent experience.
- Contingency mechanism: We won't ship new fonts and we won't change the default font.
- Contingency deadline: N/A (not a System Wide Change)
- Blocks release? N/A (not a System Wide Change)
More detailed background on the topic is provided in this email.