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


== Summary ==
== Summary ==
This change aims to provide a consistent experience for those who use Fedora in Persian or write or read Persian text in Fedora.  
This change aims to provide a consistent experience for those who use Fedora in Persian or write or read Persian text in Fedora.  
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. Note that motivation for the change should be in the Benefit to Fedora section below, and this part should answer the question "What?" rather than "Why?". -->
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. Note that motivation for the change should be in the Benefit to Fedora section below, and this part should answer the question "What?" rather than "Why?". -->


Line 16: Line 13:
<!-- Include you email address that you can be reached should people want to contact you about helping with your change, status is requested, or technical issues need to be resolved. If the change proposal is owned by a SIG, please also add a primary contact person. -->
<!-- Include you email address that you can be reached should people want to contact you about helping with your change, status is requested, or technical issues need to be resolved. If the change proposal is owned by a SIG, please also add a primary contact person. -->
* Email: <hedayat@fedoraproject.org>
* Email: <hedayat@fedoraproject.org>
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
-->
-->


== 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 41: 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 53: Line 49:
# 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.
# 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.
# Add new free Persian fonts to Fedora to provide a better experience for users who need them.
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->


== Feedback ==
== Feedback ==
Line 61: Line 55:
== Benefit to Fedora ==
== 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.
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.
<!-- What is the benefit to the distribution?  Will the software we generate be improved? How will the process of creating Fedora releases be improved?
<!-- What is the benefit to the distribution?  Will the software we generate be improved? How will the process of creating Fedora releases be improved?
    
    
Line 77: 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 105: 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? -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->


== How To Test ==
== How To Test ==
Line 125: 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]]


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
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 142: Line 136:
No hard dependencies, but an optional change might be needed in some packages (Firefox/Thunderbird) to provide a more consistent experience.
No hard dependencies, but an optional change might be needed in some packages (Firefox/Thunderbird) to provide a more consistent experience.
<!-- What other packages (RPMs) depend on this package?  Are there changes outside the developers' control on which completion of this change depends?  In other words, completion of another change owned by someone else and might cause you to not be able to finish on time or that you would need to coordinate?  Other upstream projects like the kernel (if this is not a kernel change)? -->
<!-- What other packages (RPMs) depend on this package?  Are there changes outside the developers' control on which completion of this change depends?  In other words, completion of another change owned by someone else and might cause you to not be able to finish on time or that you would need to coordinate?  Other upstream projects like the kernel (if this is not a kernel change)? -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->


== 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 -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
* Blocks release? N/A (not a System Wide Change), Yes/No <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Blocks release? N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 


== Documentation ==
== Documentation ==
More detailed background on the topic is provided in this [https://lists.fedoraproject.org/archives/list/fonts@lists.fedoraproject.org/thread/5FOJGD2P6BTKH5GUSXBEQPS4JR2FVQYM/ email].
More detailed background on the topic is provided in this [https://lists.fedoraproject.org/archives/list/fonts@lists.fedoraproject.org/thread/5FOJGD2P6BTKH5GUSXBEQPS4JR2FVQYM/ email].
<!-- Is there upstream documentation on this change, or notes you have written yourself?  Link to that material here so other interested developers can get involved. -->
<!-- Is there upstream documentation on this change, or notes you have written yourself?  Link to that material here so other interested developers can get involved. -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- N/A (not a System Wide Change) -->


== Release Notes ==
== Release Notes ==

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