From Fedora Project Wiki
(Adding Release Notes Tracker)
 
(18 intermediate revisions by 5 users not shown)
Line 2: Line 2:


= Use Noto fonts for Indic (Indian language) scripts =
= Use Noto fonts for Indic (Indian language) scripts =
{{Change_Proposal_Banner}}


== Summary ==
== Summary ==
Line 20: Line 18:
* Name: Sudip Shill
* Name: Sudip Shill
* Email: <sshil@redhat.com>
* Email: <sshil@redhat.com>
* Name: [[User:Tagoh| Akira Tagoh]]
* Email: <tagoh@redhat.com>
<!--- 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>
Line 25: Line 25:


== Current status ==
== Current status ==
[[Category:ChangeAnnounced]]
[[Category:ChangeAcceptedF39]]
<!-- 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 44: Line 44:
-->
-->
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/UF2JL7GSXRJBC7GIFLUC4HLR7SIPJIQY/ devel thread]
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/UF2JL7GSXRJBC7GIFLUC4HLR7SIPJIQY/ devel thread]
* FESCo issue: <will be assigned by the Wrangler>
* FESCo issue: https://pagure.io/fesco/issue/3048
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2233271 #2233271]
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/1003 #1003]


== Detailed Description ==
== Detailed Description ==
Line 55: Line 55:


{| class="wikitable"
{| class="wikitable"
|+ Caption text
|+ Default Indic fonts changes
|-
|-
! Language script !! Old default !! New default
! Language script !! Old default !! New default !! Serif font
|-
|-
| Devanagari || lohit-devanagari-fonts || google-noto-sans-devanagari-vf-fonts
| Devanagari || lohit-devanagari-fonts || google-noto-sans-devanagari-vf-fonts || google-noto-serif-devanagari-vf-fonts
|-
|-
| Example || Example || Example
| Bengali || lohit-bengali-fonts || google-noto-sans-bengali-vf-fonts || google-noto-serif-bengali-vf-fonts
|-
|-
| Example || Example || Example
| Gujrati || lohit-gujarati-fonts || google-noto-sans-gujarati-vf-fonts || google-noto-serif-gujarati-vf-fonts
|-
|-
| Example || Example || Example
| Kannada || lohit-kannada-fonts || google-noto-sans-kannada-vf-fonts || google-noto-serif-kannada-vf-fonts
|-
|-
| Example || Example || Example
| Odia || lohit-odia-fonts || google-noto-sans-oriya-vf-fonts || google-noto-serif-oriya-vf-fonts
|-
|-
| Example || Example || Example
| Tamil || lohit-tamil-fonts || google-noto-sans-tamil-vf-fonts || google-noto-serif-tamil-vf-fonts
|-
|-
| Example || Example || Example
| Telugu || lohit-telugu-fonts || google-noto-sans-telugu-vf-fonts || google-noto-serif-telugu-vf-fonts
|-
|-
| Example || Example || Example
| Assamese || lohit-assamese-fonts || google-noto-sans-bengali-vf-fonts || google-noto-serif-bengali-vf-fonts
|-
|-
| Example || Example || Example
| Marathi || lohit-marathi-fonts || google-noto-sans-devanagari-vf-fonts || google-noto-serif-devanagari-vf-fonts
|-
|-
| Example || Example || Example
| Maithili || lohit-devanagari-fonts || google-noto-sans-devanagari-vf-fonts || google-noto-serif-devanagari-vf-fonts
|}
|}
(Note that Noto is already default for Punjabi (Gurmukhi) and Sinhala, as well as Divehi, whereas Malayalam defaults to RIT fonts)


== Feedback ==
== Feedback ==
Line 94: Line 96:
== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
** update Indic langpacks (default-fonts) to use Noto fonts
** update Indic langpacks (default-fonts) to use Noto fonts [draft [https://src.fedoraproject.org/rpms/langpacks/pull-request/31 PR]]
** update the Noto and Lohit fonts packages so that Noto Indic fonts have higher priority
** update the Noto and Lohit fonts packages so that Noto Indic fonts have higher priority
** change comps @fonts (through default-fonts) from Lohit to the corresponding Noto Indic fonts
** change comps @fonts (through default-fonts) from Lohit to the corresponding Noto Indic fonts
Line 133: Line 135:
* test if removing Noto Indic (and (re-)installing Lohit) still allows using Lohit as a second default.
* test if removing Noto Indic (and (re-)installing Lohit) still allows using Lohit as a second default.
* (advanced) revert the font priorities using the user fonts-tweak-tool.
* (advanced) revert the font priorities using the user fonts-tweak-tool.
 
* Compare default font installed for mr_IN language
    On Fedora 38 you will see <pre>$ LANG=mr_IN fc-match
Lohit-Marathi.ttf: "Lohit Marathi" "Regular"
</pre>
    On Fedora 39 you will see    <pre>$ LANG=mr_IN fc-match
NotoSansDevanagari[wght].ttf: "Noto Sans Devanagari" "Regular"
</pre>
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->



Latest revision as of 14:44, 12 September 2023


Use Noto fonts for Indic (Indian language) scripts

Summary

Google Noto fonts for Indic (Indian) languages replace the default Lohit fonts


Owner

  • Name: Jens Petersen
  • Email: <petersen@redhat.com>
  • Name: Sudip Shill
  • Email: <sshil@redhat.com>
  • Name: Akira Tagoh
  • Email: <tagoh@redhat.com>

Current status

Detailed Description

Currently the Lohit fonts are installed and used by default for Indian languages (Indic scripts). However the Lohit project is essentially inactive and at best in maintenance mode now. So we will change the default to Google's Noto Indic fonts, which are available in both Sans and Serif faces with multiple weights and as variable fonts. This should provide a more flexible modern maintained set of fonts for Indic language scripts.

Default Indic fonts changes
Language script Old default New default Serif font
Devanagari lohit-devanagari-fonts google-noto-sans-devanagari-vf-fonts google-noto-serif-devanagari-vf-fonts
Bengali lohit-bengali-fonts google-noto-sans-bengali-vf-fonts google-noto-serif-bengali-vf-fonts
Gujrati lohit-gujarati-fonts google-noto-sans-gujarati-vf-fonts google-noto-serif-gujarati-vf-fonts
Kannada lohit-kannada-fonts google-noto-sans-kannada-vf-fonts google-noto-serif-kannada-vf-fonts
Odia lohit-odia-fonts google-noto-sans-oriya-vf-fonts google-noto-serif-oriya-vf-fonts
Tamil lohit-tamil-fonts google-noto-sans-tamil-vf-fonts google-noto-serif-tamil-vf-fonts
Telugu lohit-telugu-fonts google-noto-sans-telugu-vf-fonts google-noto-serif-telugu-vf-fonts
Assamese lohit-assamese-fonts google-noto-sans-bengali-vf-fonts google-noto-serif-bengali-vf-fonts
Marathi lohit-marathi-fonts google-noto-sans-devanagari-vf-fonts google-noto-serif-devanagari-vf-fonts
Maithili lohit-devanagari-fonts google-noto-sans-devanagari-vf-fonts google-noto-serif-devanagari-vf-fonts

(Note that Noto is already default for Punjabi (Gurmukhi) and Sinhala, as well as Divehi, whereas Malayalam defaults to RIT fonts)

Feedback

There was some initial discussion on fonts list, etc, which was generally positive.

This started with:


Benefit to Fedora

Wider range of Indic (Indian) fonts will be available by default as variable fonts in both sans and serif faces with various weight styles.

Scope

  • Proposal owners:
    • update Indic langpacks (default-fonts) to use Noto fonts [draft PR]
    • update the Noto and Lohit fonts packages so that Noto Indic fonts have higher priority
    • change comps @fonts (through default-fonts) from Lohit to the corresponding Noto Indic fonts
    • update ostree desktops to use Noto Indic
    • update lorax to use Noto for Indic fonts
  • Other developers: N/A
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Community Initiatives:

Upgrade/compatibility impact

Lohit fonts will continue to be available, but assuming the default-fonts Change is implemented users will be moved to use Noto Indic fonts by default on upgrade.

Nevertheless advanced users can use fonts-tweak-tool to change the priority of one or more Lohit fonts to be higher than Noto if they so wish.


How To Test

  • install/test default/Noto fonts on various desktops and their applications
  • test Noto Indic with and without Lohit fonts installed
  • test rendering of Indic scripts in applications/websites
  • test upgrades from Fedora 38
  • test if removing Noto Indic (and (re-)installing Lohit) still allows using Lohit as a second default.
  • (advanced) revert the font priorities using the user fonts-tweak-tool.
  • Compare default font installed for mr_IN language

On Fedora 38 you will see

$ LANG=mr_IN fc-match
Lohit-Marathi.ttf: "Lohit Marathi" "Regular"

On Fedora 39 you will see

$ LANG=mr_IN fc-match
NotoSansDevanagari[wght].ttf: "Noto Sans Devanagari" "Regular"
 

User Experience

Dependencies

Not really a direct dependency, but we currently plan to implement this using the new default-fonts metapackages.


Contingency Plan

  • Contingency mechanism: Change owners will revert the changes back to using Lohit by default
  • Contingency deadline: before final freeze
  • Blocks release? Yes

Documentation

https://sshil.fedorapeople.org/lohit-vs-noto-comparison.html

Release Notes

Google Noto fonts are now installed and used for Indic scripts (Indian language) by default instead of Lohit fonts.