<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<!--
 /etc/fonts/snap-override/10-prefer-noto.conf

 Currently (2023-07-27) this file is a copy of the new fontconfig file
 /etc/fonts/conf.d/56-language-selector-prefer.conf. Its purpose is to
 make the transition to Noto as default sans-serif and serif font
 available to the snaps until the snaps start using core24 as base snap.
-->

<!--
 This file prefers quite a few non-latin fonts to give them higher
 precedence than DejaVu Sans and DejaVu Serif. The latter are preferred
 in 60-latin.conf, but besides latin, cyrillic and greek they include
 many non-latin characters. So this way we can make Noto fonts be used
 even if the fonts-dejavu-core package is installed.
-->

<fontconfig>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Noto Sans</family>
      <family>Noto Sans Adlam</family>
      <family>Noto Sans Arabic UI</family>
      <family>Noto Sans Arabic</family>
      <family>Noto Sans Armenian</family>
      <family>Noto Sans Avestan</family>
      <family>Noto Sans Balinese</family>
      <family>Noto Sans Bamum</family>
      <family>Noto Sans Bassa Vah</family>
      <family>Noto Sans Batak</family>
      <family>Noto Sans Bengali</family>
      <family>Noto Sans Bhaiksuki</family>
      <family>Noto Sans Brahmi</family>
      <family>Noto Sans Buginese</family>
      <family>Noto Sans Buhid</family>
      <family>Noto Sans Canadian Aboriginal</family>
      <family>Noto Sans Carian</family>
      <family>Noto Sans Caucasian Albanian</family>
      <family>Noto Sans Chakma</family>
      <family>Noto Sans Cham</family>
      <family>Noto Sans Cherokee</family>
      <family>Noto Sans Coptic</family>
      <family>Noto Sans Cuneiform</family>
      <family>Noto Sans Cypriot</family>
      <family>Noto Sans Deseret</family>
      <family>Noto Sans Devanagari</family>
      <family>Noto Sans Duployan</family>
      <family>Noto Sans Elbasan</family>
      <family>Noto Sans Elymaic</family>
      <family>Noto Sans Ethiopic</family>
      <family>Noto Sans Georgian</family>
      <family>Noto Sans Glagolitic</family>
      <family>Noto Sans Gothic</family>
      <family>Noto Sans Grantha</family>
      <family>Noto Sans Gujarati</family>
      <family>Noto Sans Gunjala Gondi</family>
      <family>Noto Sans Gurmukhi</family>
      <family>Noto Sans Hanifi Rohingya</family>
      <family>Noto Sans Hanunoo</family>
      <family>Noto Sans Hatran</family>
      <family>Noto Sans Hebrew</family>
      <family>Noto Sans Javanese</family>
      <family>Noto Sans Kaithi</family>
      <family>Noto Sans Kannada</family>
      <family>Noto Sans Kayah Li</family>
      <family>Noto Sans Kharoshthi</family>
      <family>Noto Sans Khmer</family>
      <family>Noto Sans Khojki</family>
      <family>Noto Sans Khudawadi</family>
      <family>Noto Sans Lao</family>
      <family>Noto Sans Lepcha</family>
      <family>Noto Sans Limbu</family>
      <family>Noto Sans Linear A</family>
      <family>Noto Sans Linear B</family>
      <family>Noto Sans Lisu</family>
      <family>Noto Sans Lycian</family>
      <family>Noto Sans Lydian</family>
      <family>Noto Sans Mahajani</family>
      <family>Noto Sans Malayalam</family>
      <family>Noto Sans Mandaic</family>
      <family>Noto Sans Manichaean</family>
      <family>Noto Sans Marchen</family>
      <family>Noto Sans Masaram Gondi</family>
      <family>Noto Sans Mayan Numerals</family>
      <family>Noto Sans Medefaidrin</family>
      <family>Noto Sans Meetei Mayek</family>
      <family>Noto Sans Mende Kikakui</family>
      <family>Noto Sans Meroitic</family>
      <family>Noto Sans Miao</family>
      <family>Noto Sans Modi</family>
      <family>Noto Sans Mongolian</family>
      <family>Noto Sans Mro</family>
      <family>Noto Sans Multani</family>
      <family>Noto Sans Myanmar</family>
      <family>Noto Sans NKo</family>
      <family>Noto Sans Nabataean</family>
      <family>Noto Sans New Tai Lue</family>
      <family>Noto Sans Newa</family>
      <family>Noto Sans Nushu</family>
      <family>Noto Sans Ogham</family>
      <family>Noto Sans Ol Chiki</family>
      <family>Noto Sans Oriya</family>
      <family>Noto Sans Osage</family>
      <family>Noto Sans Osmanya</family>
      <family>Noto Sans Pahawh Hmong</family>
      <family>Noto Sans Palmyrene</family>
      <family>Noto Sans Pau Cin Hau</family>
      <family>Noto Sans PhagsPa</family>
      <family>Noto Sans Phoenician</family>
      <family>Noto Sans Rejang</family>
      <family>Noto Sans Runic</family>
      <family>Noto Sans Saurashtra</family>
      <family>Noto Sans Sharada</family>
      <family>Noto Sans Shavian</family>
      <family>Noto Sans Siddham</family>
      <family>Noto Sans Sinhala</family>
      <family>Noto Sans Sogdian</family>
      <family>Noto Sans Sora Sompeng</family>
      <family>Noto Sans Soyombo</family>
      <family>Noto Sans Sundanese</family>
      <family>Noto Sans Syloti Nagri</family>
      <family>Noto Sans Syriac</family>
      <family>Noto Sans Tagalog</family>
      <family>Noto Sans Tagbanwa</family>
      <family>Noto Sans Tai Le</family>
      <family>Noto Sans Tai Tham</family>
      <family>Noto Sans Tai Viet</family>
      <family>Noto Sans Tamil</family>
      <family>Noto Sans Takri</family>
      <family>Noto Sans Telugu</family>
      <family>Noto Sans Thaana</family>
      <family>Noto Sans Thai</family>
      <family>Noto Sans Tifinagh</family>
      <family>Noto Sans Tirhuta</family>
      <family>Noto Sans Ugaritic</family>
      <family>Noto Nastaliq Urdu</family>
      <family>Noto Sans Vai</family>
      <family>Noto Sans Wancho</family>
      <family>Noto Sans Warang Citi</family>
      <family>Noto Sans Yi</family>
      <family>Noto Sans Zanabazar Square</family>

      <family>Noto Sans Math</family>
    </prefer>
  </alias>
  <alias>
    <family>serif</family>
    <prefer>
      <family>Noto Serif</family>
      <family>Noto Serif Ahom</family>
      <family>Noto Naskh Arabic</family>
      <family>Noto Serif Armenian</family>
      <family>Noto Serif Balinese</family>
      <family>Noto Serif Bengali</family>
      <family>Noto Serif Devanagari</family>
      <family>Noto Serif Dogra</family>
      <family>Noto Serif Ethiopic</family>
      <family>Noto Serif Georgian</family>
      <family>Noto Serif Grantha</family>
      <family>Noto Serif Gujarati</family>
      <family>Noto Serif Gurmukhi</family>
      <family>Noto Serif Hebrew</family>
      <family>Noto Serif Hmong Nyiakeng</family>
      <family>Noto Serif Kannada</family>
      <family>Noto Serif Khmer</family>
      <family>Noto Serif Khojki</family>
      <family>Noto Serif Lao</family>
      <family>Noto Serif Malayalam</family>
      <family>Noto Serif Myanmar</family>
      <family>Noto Serif Sinhala</family>
      <family>Noto Serif Tamil</family>
      <family>Noto Serif Tamil Slanted</family>
      <family>Noto Serif Tangut</family>
      <family>Noto Serif Telugu</family>
      <family>Noto Serif Thai</family>
      <family>Noto Serif Tibetan</family>
      <family>Noto Serif Yezidi</family>
    </prefer>
  </alias>
</fontconfig>
