From Fedora Project Wiki

(add locale code)
(use version number templates, include instructions on testing a specific language)
 
(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=
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 default-fonts-<locale-code>
$ 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:
See [https://tagoh.fedorapeople.org/fonts/status/current.html this table] to check the language and font packages assigned for.
$ fontquery-diff -l he {{FedoraVersionNumber|next}}
 
|results=
|results=
One font package per aliases will be installed which 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 00:31, 9 March 2024

Description

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

Setup

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 41:

$ fontquery-diff 41

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

$ fontquery-diff -l he 41

Expected Results

No difference should be reported on the output.