From Fedora Project Wiki
 
(33 intermediate revisions by 3 users not shown)
Line 22: Line 22:


== Current status ==
== Current status ==
[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF36]]
<!-- 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 40: Line 40:
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/LKFCEG2ZFSPBONRYG6QGFEEHWVZO76RY/ devel thread]
* Tracker bug: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/2729 #2729]
* Release notes tracker: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2041929 #2041929]
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/788 #788]


== Detailed Description ==
== Detailed Description ==
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
Currently we use DejaVu fonts for English and some languages as the default font and other fonts for languages not covered by them. this situation causes inconsistent text rendering on applications and desktops, particularly when mixing different character sets.
For a long time we have used DejaVu fonts as the default font for European and other language scripts. On the other hand some language scripts are not covered by DejaVu and hence have other default fonts. (A few languages like Chinese, Japanese and Korean, as well as Gurmukhi, Sinhala, and emoji are already using Noto fonts by default for some time.)  This situation leads to inconsistencies in text rendering on applications and desktops, particularly when mixing different character sets. Further Noto fonts bring some further advantages: the fonts are generally higher quality and support variable fonts for most scripts, making them more compact.


This change aims to provide better experience and consistent text rendering across more languages by replacing DejaVu with Noto.
This change aims to provide better experience and consistent text rendering across more languages by replacing DejaVu with Noto as the general system default set of fonts.


The following packages will be installed by default to replace DejaVu's coverage:
The following packages will be installed by default to replace DejaVu's coverage:
Line 65: Line 66:
* google-noto-sans-georgian-vf-fonts
* google-noto-sans-georgian-vf-fonts
* google-noto-serif-georgian-vf-fonts
* google-noto-serif-georgian-vf-fonts
* google-noto-sans-khmer-vf-fonts
* google-noto-serif-khmer-vf-fonts
* google-noto-sans-lao-vf-fonts
* google-noto-sans-lao-vf-fonts
* google-noto-serif-lao-vf-fonts
* google-noto-serif-lao-vf-fonts
* google-noto-serif-gurmukhi-vf-fonts
* google-noto-serif-gurmukhi-vf-fonts
* google-noto-serif-sinhala-vf-fonts
* google-noto-serif-sinhala-vf-fonts
And to replace Abyssinica SIL with Noto according to [https://bugzilla.redhat.com/show_bug.cgi?id=2009807 the request]
* google-noto-sans-ethiopic-vf-fonts
* google-noto-serif-ethiopic-vf-fonts
And you can check [https://tagoh.fedorapeople.org/fonts/noto/f36-noto.html the table] to see what languages will be affected by this change.


== Feedback ==
== Feedback ==
Line 103: Line 108:
     https://fedoraproject.org/wiki/Changes/perl5.26 (major upgrade to a popular software stack, visible to users of that stack)
     https://fedoraproject.org/wiki/Changes/perl5.26 (major upgrade to a popular software stack, visible to users of that stack)
-->
-->
We would get better text rendering on applications and desktops.
We would get better text rendering on applications and desktops. Also this change should save about 6MB on the fresh install.
 
<pre>
$ rpm -qlv dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts sil-abyssinica-fonts | awk 'BEGIN{a=0}{a+=$5}END{print a}'
11432576</pre>
<pre>
$ rpm -qlv google-noto-sans-vf-fonts google-noto-serif-vf-fonts google-noto-sans-mono-vf-fonts google-noto-sans-arabic-vf-fonts google-noto-sans-cherokee-vf-fonts google-noto-sans-thaana-vf-fonts google-noto
-sans-hebrew-vf-fonts google-noto-rashi-hebrew-vf-fonts google-noto-sans-math-vf-fonts google-noto-sans-armenian-vf-f
onts google-noto-serif-armenian-vf-fonts google-noto-sans-canadian-aboriginal-vf-fonts google-noto-sans-georgian-vf-f
onts google-noto-serif-georgian-vf-fonts google-noto-sans-lao-vf-fonts google-noto-serif-lao-vf-fonts google-noto-serif-gurmukhi-vf-fonts google-noto-serif-sinhala-vf-fonts google-noto-sans-ethiopic-vf-fonts google-noto-serif-ethiopic-vf-fonts | awk 'BEGIN{a=0}{a+=$5}END{print a}'
5623849
</pre>


== Scope ==
== Scope ==
Line 109: Line 125:
<!-- 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?-->
** Update google-noto-fonts and dejavu-fonts to change the priority for fontconfig config.
** Update google-noto-fonts and dejavu-fonts to change the priority for fontconfig config.
** Update langpacks to update the dependency.
** Update comps to make Noto fonts default.
** Update comps to make Noto fonts default.
** Update lorax templates related to DejaVu.
** Update fontconfig to change the order of fonts in the builtin config.
** Update fontconfig to change the order of fonts in the builtin config.


Line 116: Line 134:
** Packagers who owns packages implicitly expects DejaVu is installed by default will needs to update the dependency for them.
** Packagers who owns packages implicitly expects DejaVu is installed by default will needs to update the dependency for them.


* Release engineering: [https://pagure.io/releng/issues #Releng issue number] <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: [https://pagure.io/releng/issue/10492 #10492] <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuild required?  include a link to the releng issue.  
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuild required?  include a link to the releng issue.  
The issue is required to be filed prior to feature submission, to ensure that someone is on board to do any process development work and testing and that all changes make it into the pipeline; a bullet point in a change is not sufficient communication -->
The issue is required to be filed prior to feature submission, to ensure that someone is on board to do any process development work and testing and that all changes make it into the pipeline; a bullet point in a change is not sufficient communication -->
Line 131: Line 149:
== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==
<!-- 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? -->
The migration will be done by updating langpacks. after upgrading and rebooting, the default font will be Noto instead of DejaVu.
Since this change aims to switch non-variable fonts to variable fonts, it may not works with legacy applications as expected such as missing some variants. in that case, you can install non-variable fonts packages. the package name will be similar and simply drop `-vf` from the variable fonts packages.


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->


== How To Test ==
== How To Test ==
Line 151: Line 171:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 
* This change can be simply tested by `fc-match` command like `fc-match sans:lang=<your langauge>`, `fc-match serif:lang=<your language>` and `fc-match monospace:lang=<your language>`. You can check the expected result from [https://tagoh.fedorapeople.org/fonts/noto/f36-noto.html the table].
* Test the text rendering in your favorite application, which use the system default font.


== User Experience ==
== User Experience ==
Line 164: Line 185:
  - Green has been scientifically proven to be the most relaxing color. The move to a default background color of green with green text will result in Fedora users being the most relaxed users of any operating system.
  - Green has been scientifically proven to be the most relaxing color. The move to a default background color of green with green text will result in Fedora users being the most relaxed users of any operating system.
-->
-->
Users will see the default font is changed to Noto by this change except for some languages which has much better quality of fonts.


== Dependencies ==
== Dependencies ==
Line 169: Line 191:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 
Only dejavu-fonts, langpacks, and fontconfig are required to update. Other packages which explicitly has a dependency to dejavu-fonts are basically optional to update.


== Contingency Plan ==
== Contingency Plan ==


<!-- 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: (What to do?  Who will do it?) Revert the relevant packages updated. <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- 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: Beta freeze <!-- 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? No <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 


== Documentation ==
== Documentation ==
Line 185: Line 206:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
N/A (not a System Wide Change)
None.


== Release Notes ==
== Release Notes ==
Line 193: Line 214:
Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze.  
Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze.  
-->
-->
The default fonts for most languages will be Google Noto fonts instead of DejaVu, to keep consistency on the text rendering and to provide better quality among languages.

Latest revision as of 16:42, 3 March 2022


Default To Noto Fonts

Summary

Changing the default fonts for various languages to Noto Fonts as much as possible, to make consistency on the text rendering.

Owner


Current status

Detailed Description

For a long time we have used DejaVu fonts as the default font for European and other language scripts. On the other hand some language scripts are not covered by DejaVu and hence have other default fonts. (A few languages like Chinese, Japanese and Korean, as well as Gurmukhi, Sinhala, and emoji are already using Noto fonts by default for some time.) This situation leads to inconsistencies in text rendering on applications and desktops, particularly when mixing different character sets. Further Noto fonts bring some further advantages: the fonts are generally higher quality and support variable fonts for most scripts, making them more compact.

This change aims to provide better experience and consistent text rendering across more languages by replacing DejaVu with Noto as the general system default set of fonts.

The following packages will be installed by default to replace DejaVu's coverage:

  • google-noto-sans-vf-fonts
  • google-noto-serif-vf-fonts
  • google-noto-sans-mono-vf-fonts
  • google-noto-sans-arabic-vf-fonts
  • google-noto-sans-cherokee-vf-fonts
  • google-noto-sans-thaana-vf-fonts
  • google-noto-sans-hebrew-vf-fonts
  • google-noto-rashi-hebrew-vf-fonts
  • google-noto-sans-math-vf-fonts
  • google-noto-sans-armenian-vf-fonts
  • google-noto-serif-armenian-vf-fonts
  • google-noto-sans-canadian-aboriginal-vf-fonts
  • google-noto-sans-georgian-vf-fonts
  • google-noto-serif-georgian-vf-fonts
  • google-noto-sans-lao-vf-fonts
  • google-noto-serif-lao-vf-fonts
  • google-noto-serif-gurmukhi-vf-fonts
  • google-noto-serif-sinhala-vf-fonts

And to replace Abyssinica SIL with Noto according to the request

  • google-noto-sans-ethiopic-vf-fonts
  • google-noto-serif-ethiopic-vf-fonts

And you can check the table to see what languages will be affected by this change.

Feedback

Benefit to Fedora

We would get better text rendering on applications and desktops. Also this change should save about 6MB on the fresh install.

$ rpm -qlv dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts sil-abyssinica-fonts | awk 'BEGIN{a=0}{a+=$5}END{print a}'
11432576
$ rpm -qlv google-noto-sans-vf-fonts google-noto-serif-vf-fonts google-noto-sans-mono-vf-fonts google-noto-sans-arabic-vf-fonts google-noto-sans-cherokee-vf-fonts google-noto-sans-thaana-vf-fonts google-noto
-sans-hebrew-vf-fonts google-noto-rashi-hebrew-vf-fonts google-noto-sans-math-vf-fonts google-noto-sans-armenian-vf-f
onts google-noto-serif-armenian-vf-fonts google-noto-sans-canadian-aboriginal-vf-fonts google-noto-sans-georgian-vf-f
onts google-noto-serif-georgian-vf-fonts google-noto-sans-lao-vf-fonts google-noto-serif-lao-vf-fonts google-noto-serif-gurmukhi-vf-fonts google-noto-serif-sinhala-vf-fonts google-noto-sans-ethiopic-vf-fonts google-noto-serif-ethiopic-vf-fonts | awk 'BEGIN{a=0}{a+=$5}END{print a}'
5623849

Scope

  • Proposal owners:
    • Update google-noto-fonts and dejavu-fonts to change the priority for fontconfig config.
    • Update langpacks to update the dependency.
    • Update comps to make Noto fonts default.
    • Update lorax templates related to DejaVu.
    • Update fontconfig to change the order of fonts in the builtin config.
  • Other developers:
    • Packagers who owns packages implicitly expects DejaVu is installed by default will needs to update the dependency for them.
  • 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

The migration will be done by updating langpacks. after upgrading and rebooting, the default font will be Noto instead of DejaVu.

Since this change aims to switch non-variable fonts to variable fonts, it may not works with legacy applications as expected such as missing some variants. in that case, you can install non-variable fonts packages. the package name will be similar and simply drop -vf from the variable fonts packages.


How To Test

  • This change can be simply tested by fc-match command like fc-match sans:lang=<your langauge>, fc-match serif:lang=<your language> and fc-match monospace:lang=<your language>. You can check the expected result from the table.
  • Test the text rendering in your favorite application, which use the system default font.

User Experience

Users will see the default font is changed to Noto by this change except for some languages which has much better quality of fonts.

Dependencies

Only dejavu-fonts, langpacks, and fontconfig are required to update. Other packages which explicitly has a dependency to dejavu-fonts are basically optional to update.

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) Revert the relevant packages updated.
  • Contingency deadline: Beta freeze
  • Blocks release? No

Documentation

None.

Release Notes

The default fonts for most languages will be Google Noto fonts instead of DejaVu, to keep consistency on the text rendering and to provide better quality among languages.