From Fedora Project Wiki
 
(6 intermediate revisions by one other user not shown)
Line 56: Line 56:
** Metapackages to pull the default font for Latin characters and emoji
** Metapackages to pull the default font for Latin characters and emoji
* default-fonts-core
* default-fonts-core
** Metapackages to pull all the default-fonts-core-{sans,serif,mono,emoji} packages
** Metapackage to pull all the default-fonts-core-{sans,serif,mono,emoji} packages
* default-fonts-cjk-sans, default-fonts-cjk-serif, default-fonts-cjk-mono
* default-fonts-cjk-sans, default-fonts-cjk-serif, default-fonts-cjk-mono
** Metapackages to pull  the default fonts for CJK
** Metapackages to pull  the default fonts for CJK
* default-fonts-cjk
* default-fonts-cjk
** Metapackages to pull the default-fonts-cjk-{sans,serif,mono} packages
** Metapackage to pull the default-fonts-cjk-{sans,serif,mono} packages
* default-fonts-other-sans, default-fonts-other-serif, default-fonts-other-mono
* default-fonts-other-sans, default-fonts-other-serif, default-fonts-other-mono
** Metapackages to pull the default fonts for non-CJK languages
** Metapackages to pull the default fonts for non-CJK languages
* default-fonts-other
* default-fonts-other
** Metapackages to pull the default-fonts-other-{sans,serif,mono} packages.
** Metapackage to pull the default-fonts-other-{sans,serif,mono} packages.
* default-fonts-extra-<language code>
* default-fonts-extra-<language code>
** Metapackages to pull a default font and extra fonts for certain languages if any
** Metapackages to pull a default font and extra fonts for certain languages if any
Line 104: Line 104:
== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
<!-- 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 the fedora-comps @fonts group and workstation-ostree-config to use the new default-fonts packages
** fontconfig package default font dependency to be updated
** update lorax to pull in default-fonts


* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Line 124: Line 126:


== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==
Nothing.  The new packages will be pulled in by langpacks packages installed.
Using default-fonts meta-packages means that users will get upgraded to new default fonts seamlessly going forward.
 
This should provide a more reliable font experience since default fonts should have higher fontconfig priority.
 
<!-- 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? -->


Line 166: Line 171:


== Dependencies ==
== Dependencies ==
* comps and workstation-ostree-config to be updated the list of packages in @fonts group
* fontconfig to be updated the default font dependency


<!-- 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)? -->

Latest revision as of 13:24, 9 June 2023


Improve Default Font Handling

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

Summary

This aims to make default fonts easier to update for all the variants on Fedora and reduce the maintenance costs to apply for them.

Owner


Current status

  • Targeted release: Fedora Linux 39
  • Last updated: 2023-06-09
  • [<will be assigned by the Wrangler> devel thread]
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

Currently there are multiple sources to manage what font packages should be installed for a Fedora release and spins, such as comps, langpacks, lorax, workstation-ostree-config, and fedora-kickstarts, which makes it complicated to make default default fonts changes. So we want to introduce new meta packages into langpacks and replace a list of font packages with it. We expect to improve such situations by updating langpacks only then.

  • default-fonts-core-sans, default-fonts-core-serif, default-fonts-core-mono, default-fonts-core-emoji, default-fonts-core-math
    • Metapackages to pull the default font for Latin characters and emoji
  • default-fonts-core
    • Metapackage to pull all the default-fonts-core-{sans,serif,mono,emoji} packages
  • default-fonts-cjk-sans, default-fonts-cjk-serif, default-fonts-cjk-mono
    • Metapackages to pull the default fonts for CJK
  • default-fonts-cjk
    • Metapackage to pull the default-fonts-cjk-{sans,serif,mono} packages
  • default-fonts-other-sans, default-fonts-other-serif, default-fonts-other-mono
    • Metapackages to pull the default fonts for non-CJK languages
  • default-fonts-other
    • Metapackage to pull the default-fonts-other-{sans,serif,mono} packages.
  • default-fonts-extra-<language code>
    • Metapackages to pull a default font and extra fonts for certain languages if any

Feedback

Benefit to Fedora

This Change provides the easier way to manage, and install our default fonts on Fedora. In current package sets, langpacks offers non-fonts packages to be installed even though one don't want to install them. After this Change, one don't need to install those extra dependencies for the purpose of the font installation.


Scope

  • Proposal owners:
    • update the fedora-comps @fonts group and workstation-ostree-config to use the new default-fonts packages
    • fontconfig package default font dependency to be updated
    • update lorax to pull in default-fonts
  • Other developers:
  • Policies and guidelines:
    • Fonts Packaging Policy should be updated to not mention font(:lang=en) but instead default-fonts-core or so.
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Community Initiatives:

Upgrade/compatibility impact

Using default-fonts meta-packages means that users will get upgraded to new default fonts seamlessly going forward.

This should provide a more reliable font experience since default fonts should have higher fontconfig priority.


How To Test

  1. Install the above meta packages
  2. See what font packages will be pulled in


User Experience

Users will automatically be moved to any new/changed default system fonts when they upgrade to a newer version of Fedora.

It will be easier for users to remove CJK or non-core fonts from their system if they really want to, or to add them in minimal installations.

Dependencies

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • 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