From Fedora Project Wiki
 
(11 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 ==
Line 69: Line 70:
* 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.
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.
Line 106: Line 111:


<pre>
<pre>
$ rpm -qlv dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts | awk 'BEGIN{a=0}{a+=$5}END{print a}'
$ rpm -qlv dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts sil-abyssinica-fonts | awk 'BEGIN{a=0}{a+=$5}END{print a}'
10789272</pre>
11432576</pre>
<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
$ 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
-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-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 | awk 'BEGIN{a=0}{a+=$5}END{print a}'
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}'
4753340
5623849
</pre>
</pre>


Line 129: 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 145: Line 150:
<!-- 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.
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 -->
Line 165: Line 172:
<!-- 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].
* 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 your favorite application's text rendering if it defaults to using the system default font.
* Test the text rendering in your favorite application, which use the system default font.


== User Experience ==
== User Experience ==
Line 184: 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 basicaly optional to update.
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 ==

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.