From Fedora Project Wiki

(Update the fnumber)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|description=This test case ensures that the default fonts packages are properly installed.
|description=This test case ensures that the default fonts packages are properly installed.
|setup=
|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:
To install default fonts:
  # dnf install default-fonts
  # dnf install default-fonts
Line 8: Line 10:
And then:
And then:
  # dnf install fontquery
  # dnf install fontquery
{{admon/note|To get correct result|Please make sure you have `anaconda-core` installed. You'll see more difference on `fontquery-diff` otherwise.}}
|actions=
|actions=
To test on f40:
To test on {{FedoraVersion|long|next}}:
  $ fontquery-diff 40
  $ 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:
$ fontquery-diff -l he {{FedoraVersionNumber|next}}
|results=
|results=
No difference should be reported on the output.
No difference should be reported on the output.
Line 17: Line 22:


[[Category:I18n_Desktop]]
[[Category:I18n_Desktop]]
[[Category:I18n_Installation]]
[[Category:I18n_Test_Cases]]
[[Category:I18n_Test_Cases]]
[[Category:Package_dnf_test_cases]]
[[Category:Package_dnf_test_cases]]
[[Category:Package_langpacks_test_cases]]
[[Category:Package_langpacks_test_cases]]

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.