From Fedora Project Wiki

(Initial testcase for core-font)
 
No edit summary
 
(10 intermediate revisions by 3 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:
# dnf install default-fonts
Or only for particular language:
# dnf install default-fonts-<locale-code>
And then:
# dnf install fontquery
|actions=
|actions=
To install a default font for language, try:
To test on {{FedoraVersion|long|next}}:
  $ dnf install langpacks-core-font-<language/locale>
$ fontquery-diff {{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=
One font package will be installed that have glyph coverage for certain language.
No difference should be reported on the output.
|optional=
|optional=
}}
}}


[[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 02:40, 11 September 2024

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 

How to test

To test on Fedora 42:

$ fontquery-diff 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.