From Fedora Project Wiki
Line 48: Line 48:
== 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 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. This sometimes makes compilcated to update the default fonts.
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.
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.



Revision as of 04:05, 30 May 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-05-30
  • [<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.

  • langpacks-font-core-sans, langpacks-font-core-serif, langpacks-font-core-mono, langpacks-font-core-emoji
    • Metapackages to pull the default font for Latin characters and emoji
  • langpacks-font-core
    • Metapackages to pull all the langpacks-font-core-{sans,serif,mono,emoji} packages
  • langpacks-font-default-cjk-sans, langpacks-font-default-cjk-serif, langpacks-font-default-cjk-mono
    • Metapackages to pull the default font for CJK
  • langpacks-font-default-cjk
    • Metapackages to pull langpacks-font-default-cjk-{sans,serif,mono} packages
  • langpacks-font-default-sans, langpacks-font-default-serif, langpacks-font-default-mono
    • Metapackages to pull the default fonts for other languages
  • langpacks-font-default
    • Metapackages to pull langpacks-font-default-{sans,serif,mono} packages.
  • langpacks-font-extra-<language code>
    • Metapackages to pull 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:
  • Other developers:
  • 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

Nothing. The new packages will be pulled in by langpacks packages installed.


How To Test

User Experience

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

Dependencies

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


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