From Fedora Project Wiki
No edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 2: Line 2:


= Noto CJK Variable Fonts <!-- The name of your change proposal --> =
= Noto CJK Variable Fonts <!-- The name of your change proposal --> =
{{Change_Proposal_Banner}}


== Summary ==
== Summary ==
Line 17: Line 15:


== Current status ==
== Current status ==
[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF38]]
<!-- 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 33: Line 31:
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/KLV7Z2QMHFORV3JT5NFK37LVCAKJOA7Q/ devel thread]
* Tracker bug: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/2938 #2938]
* Release notes tracker: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2164514 #2164514]
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/959 #959]


== Detailed Description ==
== Detailed Description ==
In order to reduce the font size in Noto CJK fonts, we plan to switch to use the variable fonts by default.
In order to reduce the font size in Noto CJK fonts, we plan to switch to use the variable fonts by default.


# Split the google-noto-cjk-fonts package into google-noto-cjk-sans-fonts and google-noto-cjk-serif-fonts, and provide the variable fonts in google-noto-cjk-sans-vf-fonts and google-noto-cjk-serif-vf-fonts.
# Split the google-noto-cjk-fonts package into google-noto-sans-cjk-fonts and google-noto-serif-cjk-fonts, and provide the variable fonts in google-noto-sans-cjk-vf-fonts and google-noto-serif-cjk-vf-fonts.
# Drop several sub packages which are not installed by default from the google-noto-cjk-fonts package.
# Drop several sub packages which are not installed by default from the google-noto-cjk-fonts package.
## Like google-noto-sans-cjk-*-fonts, google-noto-sans-*-fonts, google-noto-sans-mono-cjk-*-fonts, google-noto-serif-cjk-*-fonts and google-noto-serif-*-fonts
# Install the Noto CJK Variable Fonts by default.
# Install the Noto CJK Variable Fonts by default.


Fedora Copr for testing: https://copr.fedorainfracloud.org/coprs/pwu/noto-cjk/


== Feedback ==
== Feedback ==
Line 49: Line 50:


== Benefit to Fedora ==
== Benefit to Fedora ==
The variable fonts will reduce the disk space usage and installer image size compared to the static fonts.
The variable fonts will reduce the disk space usage and live image size compared to the static fonts.
 
{| class="wikitable"
|+ RPM Size
|-
!  Size (bytes) !! Noto Sans CJK !! Noto Serif CJK
|-
| Static Fonts || 130674365 || 181621033
|-
| Variable Fonts || 64613100 || 56924710
|}


== Scope ==
== Scope ==
Line 56: Line 67:
** Retire google-noto-cjk-fonts in Fedora rawhide
** Retire google-noto-cjk-fonts in Fedora rawhide
** Switch to install variable fonts by default in fedora-comps and langpacks
** Switch to install variable fonts by default in fedora-comps and langpacks
** Submit pull request to lorax templates to use google-noto-sans-cjk-fonts in the boot.iso


* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Line 62: Line 74:
<!-- 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 -->
** Update to use the Noto CJK variable fonts in the installer image
*** Replace google-noto-sans-cjk-ttc-fonts with the google-noto-cjk-sans-vf-fonts package


* Policies and guidelines: N/A (not needed for this Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Policies and guidelines: N/A (not needed for this Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Line 72: Line 82:
== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==


When upgrade, the variable fonts will be installed by default.
When upgrade from Fedora 37, the google-noto-sans-cjk-vf-fonts package will replace the google-noto-sans-cjk-ttc-fonts package, and the google-noto-serif-cjk-vf-fonts package will replace the google-noto-serif-cjk-ttc-fonts package.


== How To Test ==
== How To Test ==


* Please upgrade to Fedora 38 or rawhide to get the latest fonts
* Please upgrade to Fedora 38 or rawhide to get the latest fonts
* Install the variable fonts - google-noto-cjk-sans-vf-fonts and google-noto-cjk-serif-vf-fonts
* Please check the google-noto-sans-cjk-vf-fonts package is installed by default
** Check the google-noto-sans-cjk-ttc-fonts and google-noto-serif-cjk-ttc-fonts packages are replaced
** With CJK locale, the google-noto-serif-cjk-vf-fonts is also installed by default
* Then use CJK locales to check if the new fonts have any problem
** Check the google-noto-sans-cjk-ttc-fonts and google-noto-serif-cjk-ttc-fonts packages in Fedora 37 are replaced automatically in CJK locale
* Then use CJK locale to check if the new fonts have any problem


== User Experience ==
== User Experience ==


This new variable fonts will reduce the disk space usage and installer image size.
This new variable fonts will reduce the disk space usage and live image size.


== Dependencies ==
== Dependencies ==
Line 93: Line 104:
== Contingency Plan ==
== Contingency Plan ==


* Contingency mechanism: Use the static fonts by default - google-noto-cjk-sans-fonts and google-noto-cjk-serif-fonts
* Contingency mechanism: Use the static fonts by default - google-noto-sans-cjk-fonts and google-noto-serif-cjk-fonts
* 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 -->
* 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), Yes/No <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Line 106: Line 117:
== Release Notes ==
== Release Notes ==


This new variable fonts will reduce the disk space usage and installer image size.
This new variable fonts will reduce the disk space usage and live image size.

Latest revision as of 07:05, 20 February 2023


Noto CJK Variable Fonts

Summary

Switch the default Noto CJK fonts for Chinese, Japanese and Korean from static to variable fonts.

Owner


Current status

Detailed Description

In order to reduce the font size in Noto CJK fonts, we plan to switch to use the variable fonts by default.

  1. Split the google-noto-cjk-fonts package into google-noto-sans-cjk-fonts and google-noto-serif-cjk-fonts, and provide the variable fonts in google-noto-sans-cjk-vf-fonts and google-noto-serif-cjk-vf-fonts.
  2. Drop several sub packages which are not installed by default from the google-noto-cjk-fonts package.
    1. Like google-noto-sans-cjk-*-fonts, google-noto-sans-*-fonts, google-noto-sans-mono-cjk-*-fonts, google-noto-serif-cjk-*-fonts and google-noto-serif-*-fonts
  3. Install the Noto CJK Variable Fonts by default.

Fedora Copr for testing: https://copr.fedorainfracloud.org/coprs/pwu/noto-cjk/

Feedback

Benefit to Fedora

The variable fonts will reduce the disk space usage and live image size compared to the static fonts.

RPM Size
Size (bytes) Noto Sans CJK Noto Serif CJK
Static Fonts 130674365 181621033
Variable Fonts 64613100 56924710

Scope

  • Proposal owners:
    • Package four font packages for Noto CJK fonts
    • Retire google-noto-cjk-fonts in Fedora rawhide
    • Switch to install variable fonts by default in fedora-comps and langpacks
    • Submit pull request to lorax templates to use google-noto-sans-cjk-fonts in the boot.iso
  • Other developers:
  • 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

When upgrade from Fedora 37, the google-noto-sans-cjk-vf-fonts package will replace the google-noto-sans-cjk-ttc-fonts package, and the google-noto-serif-cjk-vf-fonts package will replace the google-noto-serif-cjk-ttc-fonts package.

How To Test

  • Please upgrade to Fedora 38 or rawhide to get the latest fonts
  • Please check the google-noto-sans-cjk-vf-fonts package is installed by default
    • With CJK locale, the google-noto-serif-cjk-vf-fonts is also installed by default
    • Check the google-noto-sans-cjk-ttc-fonts and google-noto-serif-cjk-ttc-fonts packages in Fedora 37 are replaced automatically in CJK locale
  • Then use CJK locale to check if the new fonts have any problem

User Experience

This new variable fonts will reduce the disk space usage and live image size.

Dependencies

Contingency Plan

  • Contingency mechanism: Use the static fonts by default - google-noto-sans-cjk-fonts and google-noto-serif-cjk-fonts
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No


Documentation

N/A (not a System Wide Change)

Release Notes

This new variable fonts will reduce the disk space usage and live image size.