From Fedora Project Wiki

(Add a core-font packages list)
(Add default font package column)
Line 5: Line 5:
To install a default font for language, try:
To install a default font for language, try:
   $ dnf install langpacks-core-font-<language/locale>
   $ dnf install langpacks-core-font-<language/locale>
This is the corresponding table among core-font packages in langpacks, language, and default fonts (dejavu-sans-fonts will be used as a default font unless it is particularly described)
{{{!}} class="wikitable sortable collapsible" align="center" border="1" cellspacing="0" cellpadding="4" style="margin-left: 2em; border-collapse: collapse; border: 1px solid darkgray; background: #f9f9f9; color: black; empty-cells: show; text-align: center;"
{{!}}- style="background: #f2f2f2; color: black; text-align: center;"
! scope="col" width="300" {{!}} Package Name
! scope="col" width="100" {{!}} Language
! scope="col" width="300" {{!}} Default Font
{{!}}-
{{!}} langpacks-core-font-af {{!!}} Afrikaans {{!!}}
{{!}}-
{{!}} langpacks-core-font-am {{!!}} Amharic {{!!}} sil-abyssinica-fonts
{{!}}-
{{!}} langpacks-core-font-ar {{!!}} Arabic {{!!}}
{{!}}-
{{!}} langpacks-core-font-as {{!!}} Assamese {{!!}} lohit-assamese-fonts
{{!}}-
{{!}} langpacks-core-font-ast {{!!}} Asturian {{!!}}
{{!}}-
{{!}} langpacks-core-font-be {{!!}} Belarusian {{!!}}
{{!}}-
{{!}} langpacks-core-font-bg {{!!}} Bulgarian {{!!}}
{{!}}-
{{!}} langpacks-core-font-bn {{!!}} Bengali {{!!}} lohit-bengali-fonts
{{!}}-
{{!}} langpacks-core-font-bo {{!!}} Tibetan {{!!}} jomolhari-fonts
{{!}}-
{{!}} langpacks-core-font-br {{!!}} Breton {{!!}}
{{!}}-
{{!}} langpacks-core-font-bs {{!!}} Bosnian {{!!}}
{{!}}-
{{!}} langpacks-core-font-ca {{!!}} Catalan {{!!}}
{{!}}-
{{!}} langpacks-core-font-cs {{!!}} Czech {{!!}}
{{!}}-
{{!}} langpacks-core-font-cy {{!!}} Welsh {{!!}}
{{!}}-
{{!}} langpacks-core-font-da {{!!}} Danish {{!!}}
{{!}}-
{{!}} langpacks-core-font-de {{!!}} German {{!!}}
{{!}}-
{{!}} langpacks-core-font-dz {{!!}} Bhutanese {{!!}}
{{!}}-
{{!}} langpacks-core-font-el {{!!}} Greek {{!!}}
{{!}}-
{{!}} langpacks-core-font-en {{!!}} English {{!!}}
{{!}}-
{{!}} langpacks-core-font-eo {{!!}} Esperanto {{!!}}
{{!}}-
{{!}} langpacks-core-font-es {{!!}} Spanish {{!!}}
{{!}}-
{{!}} langpacks-core-font-et {{!!}} Estonian {{!!}}
{{!}}-
{{!}} langpacks-core-font-eu {{!!}} Basque {{!!}}
{{!}}-
{{!}} langpacks-core-font-fa {{!!}} Persian {{!!}}
{{!}}-
{{!}} langpacks-core-font-fi {{!!}} Finnish {{!!}}
{{!}}-
{{!}} langpacks-core-font-fr {{!!}} French {{!!}}
{{!}}-
{{!}} langpacks-core-font-ga {{!!}} Irish {{!!}}
{{!}}-
{{!}} langpacks-core-font-gl {{!!}} Galician {{!!}}
{{!}}-
{{!}} langpacks-core-font-gu {{!!}} Gujarati {{!!}} lohit-gujarati-fonts
{{!}}-
{{!}} langpacks-core-font-he {{!!}} Hebrew {{!!}}
{{!}}-
{{!}} langpacks-core-font-hi {{!!}} Hindi {{!!}} lohit-devanagari-fonts
{{!}}-
{{!}} langpacks-core-font-hr {{!!}} Croatian {{!!}}
{{!}}-
{{!}} langpacks-core-font-hu {{!!}} Hungarian {{!!}}
{{!}}-
{{!}} langpacks-core-font-ia {{!!}} Interlingua {{!!}}
{{!}}-
{{!}} langpacks-core-font-id {{!!}} Indonesian {{!!}}
{{!}}-
{{!}} langpacks-core-font-is {{!!}} icelandic {{!!}}
{{!}}-
{{!}} langpacks-core-font-it {{!!}} Italian {{!!}}
{{!}}-
{{!}} langpacks-core-font-ja {{!!}} Japanese {{!!}} google-noto-sans-cjk-ttc-fonts
{{!}}-
{{!}} langpacks-core-font-ka {{!!}} Georgian {{!!}}
{{!}}-
{{!}} langpacks-core-font-kk {{!!}} Kazakh {{!!}}
{{!}}-
{{!}} langpacks-core-font-km {{!!}} Khmer {{!!}} khmeros-base-fonts
{{!}}-
{{!}} langpacks-core-font-kn {{!!}} Kannada {{!!}} lohit-kannada-fonts
{{!}}-
{{!}} langpacks-core-font-ko {{!!}} Korean {{!!}} google-noto-sans-cjk-ttc-fonts
{{!}}-
{{!}} langpacks-core-font-ku {{!!}} Kurdish {{!!}}
{{!}}-
{{!}} langpacks-core-font-lt {{!!}} Lithuanian {{!!}}
{{!}}-
{{!}} langpacks-core-font-lv {{!!}} Latvian {{!!}}
{{!}}-
{{!}} langpacks-core-font-mai {{!!}} Maithili {{!!}} lohit-devanagari-fonts
{{!}}-
{{!}} langpacks-core-font-mk {{!!}} Macedonian {{!!}}
{{!}}-
{{!}} langpacks-core-font-ml {{!!}} Malayalam {{!!}} smc-meera-fonts
{{!}}-
{{!}} langpacks-core-font-mr {{!!}} Marathi {{!!}} lohit-marathi-fonts
{{!}}-
{{!}} langpacks-core-font-ms {{!!}} Malay {{!!}}
{{!}}-
{{!}} langpacks-core-font-my {{!!}} Burmese {{!!}} sil-padauk-fonts
{{!}}-
{{!}} langpacks-core-font-nb {{!!}} Norwegian Bokmål {{!!}}
{{!}}-
{{!}} langpacks-core-font-ne {{!!}} Nepali {{!!}} lohit-devanagari-fonts
{{!}}-
{{!}} langpacks-core-font-nl {{!!}} Dutch {{!!}}
{{!}}-
{{!}} langpacks-core-font-nn {{!!}} Nynorsk {{!!}}
{{!}}-
{{!}} langpacks-core-font-nr {{!!}} Southern Ndebele {{!!}}
{{!}}-
{{!}} langpacks-core-font-nso {{!!}} Northern Sotho {{!!}}
{{!}}-
{{!}} langpacks-core-font-or {{!!}} Odia {{!!}} lohit-odia-fonts
{{!}}-
{{!}} langpacks-core-font-pa {{!!}} Punjuabi {{!!}} gogle-noto-sans-gurmukhi-fonts
{{!}}-
{{!}} langpacks-core-font-pl {{!!}} Polish {{!!}}
{{!}}-
{{!}} langpacks-core-font-pt {{!!}} Portuguese {{!!}}
{{!}}-
{{!}} langpacks-core-font-ro {{!!}} Romanian {{!!}}
{{!}}-
{{!}} langpacks-core-font-ru {{!!}} Russian {{!!}}
{{!}}-
{{!}} langpacks-core-font-si {{!!}} Sinhala {{!!}} google-noto-sans-sinhala-vf-fonts
{{!}}-
{{!}} langpacks-core-font-sk {{!!}} Slovak {{!!}}
{{!}}-
{{!}} langpacks-core-font-sl {{!!}} Slovenian {{!!}}
{{!}}-
{{!}} langpacks-core-font-sq {{!!}} Albanian {{!!}}
{{!}}-
{{!}} langpacks-core-font-sr {{!!}} Serbian {{!!}}
{{!}}-
{{!}} langpacks-core-font-ss {{!!}} Swati {{!!}}
{{!}}-
{{!}} langpacks-core-font-sv {{!!}} Swedish {{!!}}
{{!}}-
{{!}} langpacks-core-font-ta {{!!}} Tamil {{!!}} lohit-tamil-fonts
{{!}}-
{{!}} langpacks-core-font-te {{!!}} Telugu {{!!}} lohit-telugu-fonts
{{!}}-
{{!}} langpacks-core-font-th {{!!}} Thai {{!!}} thai-scalable-waree-fonts
{{!}}-
{{!}} langpacks-core-font-tn {{!!}} Tswana {{!!}}
{{!}}-
{{!}} langpacks-core-font-tr {{!!}} Turkish {{!!}}
{{!}}-
{{!}} langpacks-core-font-ts {{!!}} Tsonga {{!!}}
{{!}}-
{{!}} langpacks-core-font-uk {{!!}} Ukrainian {{!!}}
{{!}}-
{{!}} langpacks-core-font-ur {{!!}} Urdu {{!!}} paktype-naskh-basic-fonts
{{!}}-
{{!}} langpacks-core-font-ve {{!!}} Venda {{!!}}
{{!}}-
{{!}} langpacks-core-font-vi {{!!}} Vietnamese {{!!}}
{{!}}-
{{!}} langpacks-core-font-xh {{!!}} Xhosa {{!!}}
{{!}}-
{{!}} langpacks-core-font-yi {{!!}} Yiddish {{!!}}
{{!}}-
{{!}} langpacks-core-font-zh_CN {{!!}} Simplified Chinese {{!!}} google-noto-sans-cjk-ttc-fonts
{{!}}-
{{!}} langpacks-core-font-zh_TW {{!!}} Traditional Chinese {{!!}} google-noto-sans-cjk-ttc-fonts
{{!}}-
{{!}} langpacks-core-font-zu {{!!}} Zulu {{!!}}
{{!}}}
|results=
|results=
One font package will be installed that have glyph coverage for certain language.
One font package will be installed that have glyph coverage for certain language.
|optional=
|optional=
}}
}}
The following table is a package list that langpacks currently have:
{|border="1"
!width="100px"| Package Name !! Language
|-
| langpacks-core-font-af || Afrikaans
|-
| langpacks-core-font-am || Amharic
|-
| langpacks-core-font-ar || Arabic
|-
| langpacks-core-font-as || Assamese
|-
| langpacks-core-font-ast || Asturian
|-
| langpacks-core-font-be || Belarusian
|-
| langpacks-core-font-bg || Bulgarian
|-
| langpacks-core-font-bn || Bengali
|-
| langpacks-core-font-bo || Tibetan
|-
| langpacks-core-font-br || Breton
|-
| langpacks-core-font-bs || Bosnian
|-
| langpacks-core-font-ca || Catalan
|-
| langpacks-core-font-cs || Czech
|-
| langpacks-core-font-cy || Welsh
|-
| langpacks-core-font-da || Danish
|-
| langpacks-core-font-de || German
|-
| langpacks-core-font-dz || Bhutanese
|-
| langpacks-core-font-el || Greek
|-
| langpacks-core-font-en || English
|-
| langpacks-core-font-eo || Esperanto
|-
| langpacks-core-font-es || Spanish
|-
| langpacks-core-font-et || Estonian
|-
| langpacks-core-font-eu || Basque
|-
| langpacks-core-font-fa || Persian
|-
| langpacks-core-font-fi || Finnish
|-
| langpacks-core-font-fr || French
|-
| langpacks-core-font-ga || Irish
|-
| langpacks-core-font-gl || Galician
|-
| langpacks-core-font-gu || Gujarati
|-
| langpacks-core-font-he || Hebrew
|-
| langpacks-core-font-hi || Hindi
|-
| langpacks-core-font-hr || Croatian
|-
| langpacks-core-font-hu || Hungarian
|-
| langpacks-core-font-ia || Interlingua
|-
| langpacks-core-font-id || Indonesian
|-
| langpacks-core-font-is || icelandic
|-
| langpacks-core-font-it || Italian
|-
| langpacks-core-font-ja || Japanese
|-
| langpacks-core-font-ka || Georgian
|-
| langpacks-core-font-kk || Kazakh
|-
| langpacks-core-font-km || Khmer
|-
| langpacks-core-font-kn || Kannada
|-
| langpacks-core-font-ko || Korean
|-
| langpacks-core-font-ku || Kurdish
|-
| langpacks-core-font-lt || Lithuanian
|-
| langpacks-core-font-lv || Latvian
|-
| langpacks-core-font-mai || Maithili
|-
| langpacks-core-font-mk || Macedonian
|-
| langpacks-core-font-ml || Malayalam
|-
| langpacks-core-font-mr || Marathi
|-
| langpacks-core-font-ms || Malay
|-
| langpacks-core-font-my || Burmese
|-
| langpacks-core-font-nb || Norwegian Bokmål
|-
| langpacks-core-font-ne || Nepali
|-
| langpacks-core-font-nl || Dutch
|-
| langpacks-core-font-nn || Nynorsk
|-
| langpacks-core-font-nr || Southern Ndebele
|-
| langpacks-core-font-nso || Northern Sotho
|-
| langpacks-core-font-or || Odia
|-
| langpacks-core-font-pa || Punjuabi
|-
| langpacks-core-font-pl || Polish
|-
| langpacks-core-font-pt || Portuguese
|-
| langpacks-core-font-ro || Romanian
|-
| langpacks-core-font-ru || Russian
|-
| langpacks-core-font-si || Sinhala
|-
| langpacks-core-font-sk || Slovak
|-
| langpacks-core-font-sl || Slovenian
|-
| langpacks-core-font-sq || albanian
|-
| langpacks-core-font-sr || Serbian
|-
| langpacks-core-font-ss || Swati
|-
| langpacks-core-font-sv || Swedish
|-
| langpacks-core-font-ta || Tamil
|-
| langpacks-core-font-te || Telugu
|-
| langpacks-core-font-th || Thai
|-
| langpacks-core-font-tn || Tswana
|-
| langpacks-core-font-tr || Turkish
|-
| langpacks-core-font-ts || Tsonga
|-
| langpacks-core-font-uk || Ukrainian
|-
| langpacks-core-font-ur || Urdu
|-
| langpacks-core-font-ve || Venda
|-
| langpacks-core-font-vi || Vietnamese
|-
| langpacks-core-font-xh || Xhosa
|-
| langpacks-core-font-yi || Yiddish
|-
| langpacks-core-font-zh_CN || Simplified Chinese
|-
| langpacks-core-font-zh_TW || Traditional Chinese
|-
| langpacks-core-font-zu || Zulu
|}


[[Category:I18n_Desktop]]
[[Category:I18n_Desktop]]

Revision as of 04:08, 24 January 2020

Description

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


How to test

To install a default font for language, try:

 $ dnf install langpacks-core-font-<language/locale>

This is the corresponding table among core-font packages in langpacks, language, and default fonts (dejavu-sans-fonts will be used as a default font unless it is particularly described)

Package Name Language Default Font
langpacks-core-font-af Afrikaans
langpacks-core-font-am Amharic sil-abyssinica-fonts
langpacks-core-font-ar Arabic
langpacks-core-font-as Assamese lohit-assamese-fonts
langpacks-core-font-ast Asturian
langpacks-core-font-be Belarusian
langpacks-core-font-bg Bulgarian
langpacks-core-font-bn Bengali lohit-bengali-fonts
langpacks-core-font-bo Tibetan jomolhari-fonts
langpacks-core-font-br Breton
langpacks-core-font-bs Bosnian
langpacks-core-font-ca Catalan
langpacks-core-font-cs Czech
langpacks-core-font-cy Welsh
langpacks-core-font-da Danish
langpacks-core-font-de German
langpacks-core-font-dz Bhutanese
langpacks-core-font-el Greek
langpacks-core-font-en English
langpacks-core-font-eo Esperanto
langpacks-core-font-es Spanish
langpacks-core-font-et Estonian
langpacks-core-font-eu Basque
langpacks-core-font-fa Persian
langpacks-core-font-fi Finnish
langpacks-core-font-fr French
langpacks-core-font-ga Irish
langpacks-core-font-gl Galician
langpacks-core-font-gu Gujarati lohit-gujarati-fonts
langpacks-core-font-he Hebrew
langpacks-core-font-hi Hindi lohit-devanagari-fonts
langpacks-core-font-hr Croatian
langpacks-core-font-hu Hungarian
langpacks-core-font-ia Interlingua
langpacks-core-font-id Indonesian
langpacks-core-font-is icelandic
langpacks-core-font-it Italian
langpacks-core-font-ja Japanese google-noto-sans-cjk-ttc-fonts
langpacks-core-font-ka Georgian
langpacks-core-font-kk Kazakh
langpacks-core-font-km Khmer khmeros-base-fonts
langpacks-core-font-kn Kannada lohit-kannada-fonts
langpacks-core-font-ko Korean google-noto-sans-cjk-ttc-fonts
langpacks-core-font-ku Kurdish
langpacks-core-font-lt Lithuanian
langpacks-core-font-lv Latvian
langpacks-core-font-mai Maithili lohit-devanagari-fonts
langpacks-core-font-mk Macedonian
langpacks-core-font-ml Malayalam smc-meera-fonts
langpacks-core-font-mr Marathi lohit-marathi-fonts
langpacks-core-font-ms Malay
langpacks-core-font-my Burmese sil-padauk-fonts
langpacks-core-font-nb Norwegian Bokmål
langpacks-core-font-ne Nepali lohit-devanagari-fonts
langpacks-core-font-nl Dutch
langpacks-core-font-nn Nynorsk
langpacks-core-font-nr Southern Ndebele
langpacks-core-font-nso Northern Sotho
langpacks-core-font-or Odia lohit-odia-fonts
langpacks-core-font-pa Punjuabi gogle-noto-sans-gurmukhi-fonts
langpacks-core-font-pl Polish
langpacks-core-font-pt Portuguese
langpacks-core-font-ro Romanian
langpacks-core-font-ru Russian
langpacks-core-font-si Sinhala google-noto-sans-sinhala-vf-fonts
langpacks-core-font-sk Slovak
langpacks-core-font-sl Slovenian
langpacks-core-font-sq Albanian
langpacks-core-font-sr Serbian
langpacks-core-font-ss Swati
langpacks-core-font-sv Swedish
langpacks-core-font-ta Tamil lohit-tamil-fonts
langpacks-core-font-te Telugu lohit-telugu-fonts
langpacks-core-font-th Thai thai-scalable-waree-fonts
langpacks-core-font-tn Tswana
langpacks-core-font-tr Turkish
langpacks-core-font-ts Tsonga
langpacks-core-font-uk Ukrainian
langpacks-core-font-ur Urdu paktype-naskh-basic-fonts
langpacks-core-font-ve Venda
langpacks-core-font-vi Vietnamese
langpacks-core-font-xh Xhosa
langpacks-core-font-yi Yiddish
langpacks-core-font-zh_CN Simplified Chinese google-noto-sans-cjk-ttc-fonts
langpacks-core-font-zh_TW Traditional Chinese google-noto-sans-cjk-ttc-fonts
langpacks-core-font-zu Zulu

Expected Results

One font package will be installed that have glyph coverage for certain language.