From Fedora Project Wiki
m (White space change)
m (→‎How To Test: Update font package name)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Enhance Persian Font Support =
= Enhance Persian Font Support =
{{Change_Proposal_Banner}}


== Summary ==
== Summary ==
Line 20: Line 18:


== Current status ==
== Current status ==
[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF37]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 38: Line 36:
ON_QA -> change is fully code complete
ON_QA -> change is fully code complete
-->
-->
* FESCo issue: <will be assigned by the Wrangler>
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XCMLOSJYQLN4MXEDKLRY3KXJTB54SRVH/ devel thread]
* Tracker bug: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/2801 #2801]
* Release notes tracker: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2095025 #2095025]
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/845 #845]


== Detailed Description ==
== Detailed Description ==
Line 71: Line 70:
== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
# Package new free Persian fonts for Fedora
# Package new free Persian fonts for Fedora (mainly Vazirmatn [https://bugzilla.redhat.com/show_bug.cgi?id=2081539 2081539])
# Make the selected font the default one for Persian
# Make the selected font the default one for Persian
# Try to find out why Firefox/Thunderbird doesn't follow system default font (optional)
# Try to find out why Firefox/Thunderbird doesn't follow system default font (optional) ([https://bugzilla.mozilla.org/show_bug.cgi?id=1770662 mozilla #1770662])
# Update Fedora `comps.xml` to install the default font for Persian
# Update Fedora `comps.xml` to install the default font for Persian (PR [https://pagure.io/fedora-comps/pull-request/742 #742])
# Provide PR for langpacks/lorax if needed for the new default Persian font
# Provide PR for langpacks/lorax if needed for the new default Persian font (PR [https://src.fedoraproject.org/rpms/langpacks/pull-request/19 #19])


<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
Line 99: Line 98:


== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==
Default Persian font will be changed automatically on upgrades.
Default Persian font will be changed automatically on upgrades (if langpacks-fa package is installed).
<!-- What happens to systems that have had a previous versions of Fedora installed and are updated to the version containing this change? Will anything require manual configuration or data migration? Will any existing functionality be no longer supported? -->
<!-- What happens to systems that have had a previous versions of Fedora installed and are updated to the version containing this change? Will anything require manual configuration or data migration? Will any existing functionality be no longer supported? -->


Line 116: Line 115:
3. What are the expected results of those actions?
3. What are the expected results of those actions?
-->
-->
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:
[[File:Font-current.jpg|thumb|center|Current State]]
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:
[[File:Font-acceptable.jpg|thumb|center|Acceptable Result]]
[[File:Font-ideal.jpg|thumb|center|Ideal Result]]


== User Experience ==
== User Experience ==
Line 132: Line 138:


== Contingency Plan ==
== Contingency Plan ==
We won't ship new fonts and we won't change the default font.
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
* Contingency mechanism: (What to do?  Who will do it?) N/A (not a System Wide Change)  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Contingency mechanism: We won't ship new fonts and we won't change the default font.
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
* Contingency deadline: N/A (not a System Wide Change)  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Contingency deadline: N/A (not a System Wide Change)  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->

Latest revision as of 21:58, 1 August 2022

Enhance Persian Font Support

Summary

This change aims to provide a consistent experience for those who use Fedora in Persian or write or read Persian text in Fedora.

Owner

Current status

Detailed Description

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:

  1. 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.
  2. Add new free Persian fonts to Fedora to provide a better experience for users who need them.

Feedback

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.

Scope

  • Proposal owners:
  1. Package new free Persian fonts for Fedora (mainly Vazirmatn 2081539)
  2. Make the selected font the default one for Persian
  3. Try to find out why Firefox/Thunderbird doesn't follow system default font (optional) (mozilla #1770662)
  4. Update Fedora comps.xml to install the default font for Persian (PR #742)
  5. Provide PR for langpacks/lorax if needed for the new default Persian font (PR #19)


  • Other developers:
  1. Might need some fixes in Firefox/Thunderbird to follow system default font when it is selected
  2. Might need changes in langpacks/lorax


  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives:

Upgrade/compatibility impact

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:

Current State

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:

Acceptable Result
Ideal Result

User Experience

Users who read/write Persian text in Fedora are presented with a new more beautiful font used by default consistently in all applications.

Dependencies

No hard dependencies, but an optional change might be needed in some packages (Firefox/Thunderbird) to provide a more consistent experience.

Contingency Plan

  • 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)

Documentation

More detailed background on the topic is provided in this email.

Release Notes