From Fedora Project Wiki

No edit summary
No edit summary
 
Line 13: Line 13:
|actions=
|actions=
To test on {{FedoraVersion|long|next}}:
To test on {{FedoraVersion|long|next}}:
  $ fontquery-diff {{FedoraVersionNumber|next}}
  $ fontquery-diff --loose-comparison {{FedoraVersionNumber|next}}
To test for a specific language, use the [https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes ISO 639 two-letter code], e.g. {{code|he}} for Hebrew:
To test for a specific language, use the [https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes ISO 639 two-letter code], e.g. {{code|he}} for Hebrew:
  $ fontquery-diff -l he {{FedoraVersionNumber|next}}
  $ fontquery-diff -l he {{FedoraVersionNumber|next}}

Latest revision as of 06:15, 26 February 2025

Description

This test case ensures that the default fonts packages are properly installed.

Setup

Please note that fontquery won't work on Live and toolbox due to the podman's limitation. If you want to try, please make sure you installed Live on KVM or bare metal.

To install default fonts:

# dnf install default-fonts

Or only for particular language:

# dnf install default-fonts-<locale-code>

And then:

# dnf install fontquery
To get correct result
Please make sure you have anaconda-core installed. You'll see more difference on fontquery-diff otherwise.

How to test

To test on Fedora 42:

$ fontquery-diff --loose-comparison 42

To test for a specific language, use the ISO 639 two-letter code, e.g. he for Hebrew:

$ fontquery-diff -l he 42

Expected Results

No difference should be reported on the output.