1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
|
// Copyright (C) 2004-2022 Artifex Software, Inc.
//
// This file is part of MuPDF.
//
// MuPDF is free software: you can redistribute it and/or modify it under the
// terms of the GNU Affero General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// MuPDF is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
// details.
//
// You should have received a copy of the GNU Affero General Public License
// along with MuPDF. If not, see <https://www.gnu.org/licenses/agpl-3.0.en.html>
//
// Alternative licensing terms are available from the licensor.
// For commercial licensing, see <https://www.artifex.com/> or contact
// Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco,
// CA 94129, USA, for further information.
#ifndef TOFU_BASE14
FONT(urw, NimbusMonoPS_Regular_cff, "Courier", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(urw, NimbusMonoPS_Regular_cff, "Nimbus Mono", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(urw, NimbusMonoPS_Italic_cff, "Courier", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
ALIAS(urw, NimbusMonoPS_Italic_cff, "Nimbus Mono", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
FONT(urw, NimbusMonoPS_Bold_cff, "Courier", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
ALIAS(urw, NimbusMonoPS_Bold_cff, "Nimbus Mono", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
FONT(urw, NimbusMonoPS_BoldItalic_cff, "Courier", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
ALIAS(urw, NimbusMonoPS_BoldItalic_cff, "Nimbus Mono", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
FONT(urw, NimbusSans_Regular_cff, "Helvetica", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(urw, NimbusSans_Regular_cff, "Arial", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(urw, NimbusSans_Regular_cff, "Nimbus Sans", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(urw, NimbusSans_Italic_cff, "Helvetica", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
ALIAS(urw, NimbusSans_Italic_cff, "Arial", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
ALIAS(urw, NimbusSans_Italic_cff, "Nimbus Sans", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
FONT(urw, NimbusSans_Bold_cff, "Helvetica", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
ALIAS(urw, NimbusSans_Bold_cff, "Arial", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
ALIAS(urw, NimbusSans_Bold_cff, "Nimbus Sans", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
FONT(urw, NimbusSans_BoldItalic_cff, "Helvetica", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
ALIAS(urw, NimbusSans_BoldItalic_cff, "Arial", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
ALIAS(urw, NimbusSans_BoldItalic_cff, "Nimbus Sans", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
FONT(urw, NimbusRoman_Regular_cff, "Times", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(urw, NimbusRoman_Regular_cff, "Times New Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(urw, NimbusRoman_Regular_cff, "Nimbus Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(urw, NimbusRoman_Italic_cff, "Times", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
ALIAS(urw, NimbusRoman_Italic_cff, "Times Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
ALIAS(urw, NimbusRoman_Italic_cff, "Times New Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
ALIAS(urw, NimbusRoman_Italic_cff, "Nimbus Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
FONT(urw, NimbusRoman_Bold_cff, "Times", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
ALIAS(urw, NimbusRoman_Bold_cff, "Times Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
ALIAS(urw, NimbusRoman_Bold_cff, "Times New Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
ALIAS(urw, NimbusRoman_Bold_cff, "Nimbus Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
FONT(urw, NimbusRoman_BoldItalic_cff, "Times", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
ALIAS(urw, NimbusRoman_BoldItalic_cff, "Times Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
ALIAS(urw, NimbusRoman_BoldItalic_cff, "Times New Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
ALIAS(urw, NimbusRoman_BoldItalic_cff, "Nimbus Roman", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
FONT(urw, StandardSymbolsPS_cff, "Symbol", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(urw, StandardSymbolsPS_cff, "Standard Symbols PS", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(urw, Dingbats_cff, "ZapfDingbats", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(urw, Dingbats_cff, "Dingbats", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
#endif
#ifndef TOFU_SIL
FONT(sil, CharisSIL_Regular_ttf, "Charis SIL", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(sil, CharisSIL_Italic_ttf, "Charis SIL", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, ITALIC)
FONT(sil, CharisSIL_Bold_ttf, "Charis SIL", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD)
FONT(sil, CharisSIL_BoldItalic_ttf, "Charis SIL", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, BOLD|ITALIC)
#endif
#ifndef TOFU_NOTO
FONT(urw, NimbusBoxes_Regular_cff, "Nimbus Boxes", ANY_SCRIPT, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(noto, NotoSerif_Regular_otf, "Noto Serif", UCDN_SCRIPT_LATIN, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(noto, NotoSerif_Regular_otf, "Noto Serif", UCDN_SCRIPT_GREEK, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(noto, NotoSerif_Regular_otf, "Noto Serif", UCDN_SCRIPT_CYRILLIC, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(noto, NotoSerif_Regular_otf, "Noto Serif", UCDN_SCRIPT_COMMON, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(noto, NotoSerif_Regular_otf, "Noto Serif", UCDN_SCRIPT_INHERITED, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(noto, NotoSerif_Regular_otf, "Noto Serif", UCDN_SCRIPT_UNKNOWN, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(noto, NotoNastaliqUrdu_Regular_otf, "Noto Nastaliq Urdu", UCDN_SCRIPT_ARABIC, FZ_LANG_ur, NO_SUBFONT, REGULAR)
ALIAS(noto, NotoNastaliqUrdu_Regular_otf, "Noto Nastaliq Urdu", UCDN_SCRIPT_ARABIC, FZ_LANG_urd, NO_SUBFONT, REGULAR)
FONT(noto, NotoNaskhArabic_Regular_otf, "Noto Nastaliq Urdu", UCDN_SCRIPT_ARABIC, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
#define DEFNOTO(symbol,name,script) FONT(noto, symbol, name, script, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
DEFNOTO(NotoSansAdlam_Regular_otf, "Noto Sans Adlam", UCDN_SCRIPT_ADLAM)
DEFNOTO(NotoSerifAhom_Regular_otf, "Noto Serif Ahom", UCDN_SCRIPT_AHOM)
DEFNOTO(NotoSansAnatolianHieroglyphs_Regular_otf, "Noto Sans Anatolian Hieroglyphs", UCDN_SCRIPT_ANATOLIAN_HIEROGLYPHS)
DEFNOTO(NotoSerifArmenian_Regular_otf, "Noto Serif Armenian", UCDN_SCRIPT_ARMENIAN)
DEFNOTO(NotoSansAvestan_Regular_otf, "Noto Sans Avestan", UCDN_SCRIPT_AVESTAN)
DEFNOTO(NotoSerifBalinese_Regular_otf, "Noto Serif Balinese", UCDN_SCRIPT_BALINESE)
DEFNOTO(NotoSansBamum_Regular_otf, "Noto Sans Bamum", UCDN_SCRIPT_BAMUM)
DEFNOTO(NotoSansBassaVah_Regular_otf, "Noto Sans Bassa Vah", UCDN_SCRIPT_BASSA_VAH)
DEFNOTO(NotoSansBatak_Regular_otf, "Noto Sans Batak", UCDN_SCRIPT_BATAK)
DEFNOTO(NotoSerifBengali_Regular_otf, "Noto Serif Bengali", UCDN_SCRIPT_BENGALI)
DEFNOTO(NotoSansBhaiksuki_Regular_otf, "Noto Sans Bhaiksuki", UCDN_SCRIPT_BHAIKSUKI)
DEFNOTO(NotoSansBrahmi_Regular_otf, "Noto Sans Brahmi", UCDN_SCRIPT_BRAHMI)
DEFNOTO(NotoSansBuginese_Regular_otf, "Noto Sans Buginese", UCDN_SCRIPT_BUGINESE)
DEFNOTO(NotoSansBuhid_Regular_otf, "Noto Sans Buhid", UCDN_SCRIPT_BUHID)
DEFNOTO(NotoSansCanadianAboriginal_Regular_otf, "Noto Sans Canadian Aboriginal", UCDN_SCRIPT_CANADIAN_ABORIGINAL)
DEFNOTO(NotoSansCarian_Regular_otf, "Noto Sans Carian", UCDN_SCRIPT_CARIAN)
DEFNOTO(NotoSansCaucasianAlbanian_Regular_otf, "Noto Sans Caucasian Albanian", UCDN_SCRIPT_CAUCASIAN_ALBANIAN)
DEFNOTO(NotoSansChakma_Regular_otf, "Noto Sans Chakma", UCDN_SCRIPT_CHAKMA)
DEFNOTO(NotoSansCham_Regular_otf, "Noto Sans Cham", UCDN_SCRIPT_CHAM)
DEFNOTO(NotoSansCherokee_Regular_otf, "Noto Sans Cherokee", UCDN_SCRIPT_CHEROKEE)
DEFNOTO(NotoSansCoptic_Regular_otf, "Noto Sans Coptic", UCDN_SCRIPT_COPTIC)
DEFNOTO(NotoSansCuneiform_Regular_otf, "Noto Sans Cuneiform", UCDN_SCRIPT_CUNEIFORM)
DEFNOTO(NotoSansCypriot_Regular_otf, "Noto Sans Cypriot", UCDN_SCRIPT_CYPRIOT)
DEFNOTO(NotoSansDeseret_Regular_otf, "Noto Sans Deseret", UCDN_SCRIPT_DESERET)
DEFNOTO(NotoSerifDevanagari_Regular_otf, "Noto Serif Devanagari", UCDN_SCRIPT_DEVANAGARI)
DEFNOTO(NotoSerifDogra_Regular_otf, "Noto Serif Dogra", UCDN_SCRIPT_DOGRA)
DEFNOTO(NotoSansDuployan_Regular_otf, "Noto Sans Duployan", UCDN_SCRIPT_DUPLOYAN)
DEFNOTO(NotoSansEgyptianHieroglyphs_Regular_otf, "Noto Sans Egyptian Hieroglyphs", UCDN_SCRIPT_EGYPTIAN_HIEROGLYPHS)
DEFNOTO(NotoSansElbasan_Regular_otf, "Noto Sans Elbasan", UCDN_SCRIPT_ELBASAN)
DEFNOTO(NotoSansElymaic_Regular_otf, "Noto Sans Elymaic", UCDN_SCRIPT_ELYMAIC)
DEFNOTO(NotoSerifEthiopic_Regular_otf, "Noto Serif Ethiopic", UCDN_SCRIPT_ETHIOPIC)
DEFNOTO(NotoSerifGeorgian_Regular_otf, "Noto Serif Georgian", UCDN_SCRIPT_GEORGIAN)
DEFNOTO(NotoSansGlagolitic_Regular_otf, "Noto Sans Glagolitic", UCDN_SCRIPT_GLAGOLITIC)
DEFNOTO(NotoSansGothic_Regular_otf, "Noto Sans Gothic", UCDN_SCRIPT_GOTHIC)
DEFNOTO(NotoSerifGrantha_Regular_otf, "Noto Serif Grantha", UCDN_SCRIPT_GRANTHA)
DEFNOTO(NotoSerifGujarati_Regular_otf, "Noto Serif Gujarati", UCDN_SCRIPT_GUJARATI)
DEFNOTO(NotoSansGunjalaGondi_Regular_otf, "Noto Sans Gunjala Gondi", UCDN_SCRIPT_GUNJALA_GONDI)
DEFNOTO(NotoSerifGurmukhi_Regular_otf, "Noto Serif Gurmukhi", UCDN_SCRIPT_GURMUKHI)
DEFNOTO(NotoSansHanifiRohingya_Regular_otf, "Noto Sans Hanifi Rohingya", UCDN_SCRIPT_HANIFI_ROHINGYA)
DEFNOTO(NotoSansHanunoo_Regular_otf, "Noto Sans Hanunoo", UCDN_SCRIPT_HANUNOO)
DEFNOTO(NotoSansHatran_Regular_otf, "Noto Sans Hatran", UCDN_SCRIPT_HATRAN)
DEFNOTO(NotoSerifHebrew_Regular_otf, "Noto Serif Hebrew", UCDN_SCRIPT_HEBREW)
DEFNOTO(NotoSansImperialAramaic_Regular_otf, "Noto Sans Imperial Aramaic", UCDN_SCRIPT_IMPERIAL_ARAMAIC)
DEFNOTO(NotoSansInscriptionalPahlavi_Regular_otf, "Noto Sans Inscriptional Pahlavi", UCDN_SCRIPT_INSCRIPTIONAL_PAHLAVI)
DEFNOTO(NotoSansInscriptionalParthian_Regular_otf, "Noto Sans Inscriptional Parthian", UCDN_SCRIPT_INSCRIPTIONAL_PARTHIAN)
DEFNOTO(NotoSansJavanese_Regular_otf, "Noto Sans Javanese", UCDN_SCRIPT_JAVANESE)
DEFNOTO(NotoSansKaithi_Regular_otf, "Noto Sans Kaithi", UCDN_SCRIPT_KAITHI)
DEFNOTO(NotoSerifKannada_Regular_otf, "Noto Serif Kannada", UCDN_SCRIPT_KANNADA)
DEFNOTO(NotoSansKayahLi_Regular_otf, "Noto Sans Kayah Li", UCDN_SCRIPT_KAYAH_LI)
DEFNOTO(NotoSansKharoshthi_Regular_otf, "Noto Sans Kharoshthi", UCDN_SCRIPT_KHAROSHTHI)
DEFNOTO(NotoSerifKhmer_Regular_otf, "Noto Serif Khmer", UCDN_SCRIPT_KHMER)
DEFNOTO(NotoSerifKhojki_Regular_otf, "Noto Serif Khojki", UCDN_SCRIPT_KHOJKI)
DEFNOTO(NotoSansKhudawadi_Regular_otf, "Noto Sans Khudawadi", UCDN_SCRIPT_KHUDAWADI)
DEFNOTO(NotoSerifLao_Regular_otf, "Noto Serif Lao", UCDN_SCRIPT_LAO)
DEFNOTO(NotoSansLepcha_Regular_otf, "Noto Sans Lepcha", UCDN_SCRIPT_LEPCHA)
DEFNOTO(NotoSansLimbu_Regular_otf, "Noto Sans Limbu", UCDN_SCRIPT_LIMBU)
DEFNOTO(NotoSansLinearA_Regular_otf, "Noto Sans LinearA", UCDN_SCRIPT_LINEAR_A)
DEFNOTO(NotoSansLinearB_Regular_otf, "Noto Sans LinearB", UCDN_SCRIPT_LINEAR_B)
DEFNOTO(NotoSansLisu_Regular_otf, "Noto Sans Lisu", UCDN_SCRIPT_LISU)
DEFNOTO(NotoSansLycian_Regular_otf, "Noto Sans Lycian", UCDN_SCRIPT_LYCIAN)
DEFNOTO(NotoSansLydian_Regular_otf, "Noto Sans Lydian", UCDN_SCRIPT_LYDIAN)
DEFNOTO(NotoSansMahajani_Regular_otf, "Noto Sans Mahajani", UCDN_SCRIPT_MAHAJANI)
DEFNOTO(NotoSerifMalayalam_Regular_otf, "Noto Serif Malayalam", UCDN_SCRIPT_MALAYALAM)
DEFNOTO(NotoSansMandaic_Regular_otf, "Noto Sans Mandaic", UCDN_SCRIPT_MANDAIC)
DEFNOTO(NotoSansManichaean_Regular_otf, "Noto Sans Manichaean", UCDN_SCRIPT_MANICHAEAN)
DEFNOTO(NotoSansMarchen_Regular_otf, "Noto Sans Marchen", UCDN_SCRIPT_MARCHEN)
DEFNOTO(NotoSansMasaramGondi_Regular_otf, "Noto Sans Masaram Gondi", UCDN_SCRIPT_MASARAM_GONDI)
DEFNOTO(NotoSansMedefaidrin_Regular_otf, "Noto Sans Medefaidrin", UCDN_SCRIPT_MEDEFAIDRIN)
DEFNOTO(NotoSansMeeteiMayek_Regular_otf, "Noto Sans MeeteiMayek", UCDN_SCRIPT_MEETEI_MAYEK)
DEFNOTO(NotoSansMendeKikakui_Regular_otf, "Noto Sans MendeKikakui", UCDN_SCRIPT_MENDE_KIKAKUI)
DEFNOTO(NotoSansMeroitic_Regular_otf, "Noto Sans Meroitic", UCDN_SCRIPT_MEROITIC_CURSIVE)
DEFNOTO(NotoSansMeroitic_Regular_otf, "Noto Sans Meroitic", UCDN_SCRIPT_MEROITIC_HIEROGLYPHS)
DEFNOTO(NotoSansMiao_Regular_otf, "Noto Sans Miao", UCDN_SCRIPT_MIAO)
DEFNOTO(NotoSansModi_Regular_otf, "Noto Sans Modi", UCDN_SCRIPT_MODI)
DEFNOTO(NotoSansMongolian_Regular_otf, "Noto Sans Mongolian", UCDN_SCRIPT_MONGOLIAN)
DEFNOTO(NotoSansMro_Regular_otf, "Noto Sans Mro", UCDN_SCRIPT_MRO)
DEFNOTO(NotoSansMultani_Regular_otf, "Noto Sans Multani", UCDN_SCRIPT_MULTANI)
DEFNOTO(NotoSerifMyanmar_Regular_otf, "Noto Serif Myanmar", UCDN_SCRIPT_MYANMAR)
DEFNOTO(NotoSansNabataean_Regular_otf, "Noto Sans Nabataean", UCDN_SCRIPT_NABATAEAN)
DEFNOTO(NotoSansNewa_Regular_otf, "Noto Sans Newa", UCDN_SCRIPT_NEWA)
DEFNOTO(NotoSansNewTaiLue_Regular_otf, "Noto Sans New Tai Lue", UCDN_SCRIPT_NEW_TAI_LUE)
DEFNOTO(NotoSansNKo_Regular_otf, "Noto Sans N Ko", UCDN_SCRIPT_NKO)
DEFNOTO(NotoSansNushu_Regular_otf, "Noto Sans Nushu", UCDN_SCRIPT_NUSHU)
DEFNOTO(NotoSerifNyiakengPuachueHmong_Regular_otf, "Noto Serif Nyiakeng Puachue Hmong", UCDN_SCRIPT_NYIAKENG_PUACHUE_HMONG)
DEFNOTO(NotoSansOgham_Regular_otf, "Noto Sans Ogham", UCDN_SCRIPT_OGHAM)
DEFNOTO(NotoSansOldHungarian_Regular_otf, "Noto Sans Old Hungarian", UCDN_SCRIPT_OLD_HUNGARIAN)
DEFNOTO(NotoSansOldItalic_Regular_otf, "Noto Sans Old Italic", UCDN_SCRIPT_OLD_ITALIC)
DEFNOTO(NotoSansOldNorthArabian_Regular_otf, "Noto Sans Old North Arabian", UCDN_SCRIPT_OLD_NORTH_ARABIAN)
DEFNOTO(NotoSansOldPermic_Regular_otf, "Noto Sans Old Permic", UCDN_SCRIPT_OLD_PERMIC)
DEFNOTO(NotoSansOldPersian_Regular_otf, "Noto Sans Old Persian", UCDN_SCRIPT_OLD_PERSIAN)
DEFNOTO(NotoSansOldSogdian_Regular_otf, "Noto Sans Old Sogdian", UCDN_SCRIPT_OLD_SOGDIAN)
DEFNOTO(NotoSansOldSouthArabian_Regular_otf, "Noto Sans Old South Arabian", UCDN_SCRIPT_OLD_SOUTH_ARABIAN)
DEFNOTO(NotoSansOldTurkic_Regular_otf, "Noto Sans Old Turkic", UCDN_SCRIPT_OLD_TURKIC)
DEFNOTO(NotoSansOlChiki_Regular_otf, "Noto Sans Ol Chiki", UCDN_SCRIPT_OL_CHIKI)
DEFNOTO(NotoSansOriya_Regular_otf, "Noto Sans Oriya", UCDN_SCRIPT_ORIYA)
DEFNOTO(NotoSansOsage_Regular_otf, "Noto Sans Osage", UCDN_SCRIPT_OSAGE)
DEFNOTO(NotoSansOsmanya_Regular_otf, "Noto Sans Osmanya", UCDN_SCRIPT_OSMANYA)
DEFNOTO(NotoSansPahawhHmong_Regular_otf, "Noto Sans Pahawh Hmong", UCDN_SCRIPT_PAHAWH_HMONG)
DEFNOTO(NotoSansPalmyrene_Regular_otf, "Noto Sans Palmyrene", UCDN_SCRIPT_PALMYRENE)
DEFNOTO(NotoSansPauCinHau_Regular_otf, "Noto Sans Pau Cin Hau", UCDN_SCRIPT_PAU_CIN_HAU)
DEFNOTO(NotoSansPhagsPa_Regular_otf, "Noto Sans Phags Pa", UCDN_SCRIPT_PHAGS_PA)
DEFNOTO(NotoSansPhoenician_Regular_otf, "Noto Sans Phoenician", UCDN_SCRIPT_PHOENICIAN)
DEFNOTO(NotoSansPsalterPahlavi_Regular_otf, "Noto Sans PsalterPahlavi", UCDN_SCRIPT_PSALTER_PAHLAVI)
DEFNOTO(NotoSansRejang_Regular_otf, "Noto Sans Rejang", UCDN_SCRIPT_REJANG)
DEFNOTO(NotoSansRunic_Regular_otf, "Noto Sans Runic", UCDN_SCRIPT_RUNIC)
DEFNOTO(NotoSansSamaritan_Regular_otf, "Noto Sans Samaritan", UCDN_SCRIPT_SAMARITAN)
DEFNOTO(NotoSansSaurashtra_Regular_otf, "Noto Sans Saurashtra", UCDN_SCRIPT_SAURASHTRA)
DEFNOTO(NotoSansSharada_Regular_otf, "Noto Sans Sharada", UCDN_SCRIPT_SHARADA)
DEFNOTO(NotoSansShavian_Regular_otf, "Noto Sans Shavian", UCDN_SCRIPT_SHAVIAN)
DEFNOTO(NotoSansSiddham_Regular_otf, "Noto Sans Siddham", UCDN_SCRIPT_SIDDHAM)
DEFNOTO(NotoSerifSinhala_Regular_otf, "Noto Serif Sinhala", UCDN_SCRIPT_SINHALA)
DEFNOTO(NotoSansSogdian_Regular_otf, "Noto Sans Sogdian", UCDN_SCRIPT_SOGDIAN)
DEFNOTO(NotoSansSoraSompeng_Regular_otf, "Noto Sans SoraSompeng", UCDN_SCRIPT_SORA_SOMPENG)
DEFNOTO(NotoSansSoyombo_Regular_otf, "Noto Sans Soyombo", UCDN_SCRIPT_SOYOMBO)
DEFNOTO(NotoSansSundanese_Regular_otf, "Noto Sans Sundanese", UCDN_SCRIPT_SUNDANESE)
DEFNOTO(NotoSansSylotiNagri_Regular_otf, "Noto Sans Syloti Nagri", UCDN_SCRIPT_SYLOTI_NAGRI)
DEFNOTO(NotoSansSyriac_Regular_otf, "Noto Sans Syriac", UCDN_SCRIPT_SYRIAC)
DEFNOTO(NotoSansTagalog_Regular_otf, "Noto Sans Tagalog", UCDN_SCRIPT_TAGALOG)
DEFNOTO(NotoSansTagbanwa_Regular_otf, "Noto Sans Tagbanwa", UCDN_SCRIPT_TAGBANWA)
DEFNOTO(NotoSansTaiLe_Regular_otf, "Noto Sans TaiLe", UCDN_SCRIPT_TAI_LE)
DEFNOTO(NotoSansTaiTham_Regular_otf, "Noto Sans Tai Tham", UCDN_SCRIPT_TAI_THAM)
DEFNOTO(NotoSansTaiViet_Regular_otf, "Noto Sans Tai Viet", UCDN_SCRIPT_TAI_VIET)
DEFNOTO(NotoSansTakri_Regular_otf, "Noto Sans Takri", UCDN_SCRIPT_TAKRI)
DEFNOTO(NotoSerifTamil_Regular_otf, "Noto Serif Tamil", UCDN_SCRIPT_TAMIL)
DEFNOTO(NotoSerifTelugu_Regular_otf, "Noto Serif Telugu", UCDN_SCRIPT_TELUGU)
DEFNOTO(NotoSansThaana_Regular_otf, "Noto Sans Thaana", UCDN_SCRIPT_THAANA)
DEFNOTO(NotoSerifThai_Regular_otf, "Noto Serif Thai", UCDN_SCRIPT_THAI)
DEFNOTO(NotoSerifTibetan_Regular_otf, "Noto Serif Tibetan", UCDN_SCRIPT_TIBETAN)
DEFNOTO(NotoSansTifinagh_Regular_otf, "Noto Sans Tifinagh", UCDN_SCRIPT_TIFINAGH)
DEFNOTO(NotoSansTirhuta_Regular_otf, "Noto Sans Tirhuta", UCDN_SCRIPT_TIRHUTA)
DEFNOTO(NotoSansUgaritic_Regular_otf, "Noto Sans Ugaritic", UCDN_SCRIPT_UGARITIC)
DEFNOTO(NotoSansVai_Regular_otf, "Noto Sans Vai", UCDN_SCRIPT_VAI)
DEFNOTO(NotoSansWancho_Regular_otf, "Noto Sans Wancho", UCDN_SCRIPT_WANCHO)
DEFNOTO(NotoSansWarangCiti_Regular_otf, "Noto Sans Warang Citi", UCDN_SCRIPT_WARANG_CITI)
DEFNOTO(NotoSerifYezidi_Regular_otf, "Noto Serif Yezidi", UCDN_SCRIPT_YEZIDI)
DEFNOTO(NotoSansYi_Regular_otf, "Noto Sans Yi", UCDN_SCRIPT_YI)
DEFNOTO(NotoSansZanabazarSquare_Regular_otf, "Noto Sans Zanabazar Square", UCDN_SCRIPT_ZANABAZAR_SQUARE)
#if NOTO_TANGUT
DEFNOTO(NotoSerifTangut_Regular_otf, "Noto Serif Tangut", UCDN_SCRIPT_TANGUT)
#endif
#undef DEFNOTO
#define DEFNOTO(symbol, name, script) EMPTY(script)
DEFNOTO(NotoSansChorasmian_Regular_otf, "Noto Sans Chorasmian", UCDN_SCRIPT_CHORASMIAN)
DEFNOTO(NotoSansCyproMinoan_Regular_otf, "Noto Sans Cypro Minoan", UCDN_SCRIPT_CYPRO_MINOAN)
DEFNOTO(NotoSansDivesAkuru_Regular_otf, "Noto Sans Dives Akuru", UCDN_SCRIPT_DIVES_AKURU)
DEFNOTO(NotoSansKhitanSmallScript_Regular_otf, "Noto Sans Khitan Small Script", UCDN_SCRIPT_KHITAN_SMALL_SCRIPT)
DEFNOTO(NotoSansMakasar_Regular_otf, "Noto Sans Makasar", UCDN_SCRIPT_MAKASAR)
DEFNOTO(NotoSansNandinagari_Regular_otf, "Noto Sans Nandinagari", UCDN_SCRIPT_NANDINAGARI)
DEFNOTO(NotoSansOldUyghur_Regular_otf, "Noto Sans Old Uyghur", UCDN_SCRIPT_OLD_UYGHUR)
DEFNOTO(NotoSansToto_Regular_otf, "Noto Sans Toto", UCDN_SCRIPT_TOTO)
DEFNOTO(NotoSansVithkuqi_Regular_otf, "Noto Sans Vithukqi", UCDN_SCRIPT_VITHKUQI)
DEFNOTO(NotoSansSignwriting_Regular_otf, "Noto Sans Signwriting", UCDN_SCRIPT_SIGNWRITING)
DEFNOTO(NotoSansTangsa_Regular_otf, "Noto Sans Tangsa", UCDN_SCRIPT_TANGSA)
#undef DEFNOTO
#ifndef TOFU_SYMBOL
FONT(noto, NotoSansMath_Regular_otf, "Noto Sans Math", MUPDF_SCRIPT_MATH, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(noto, NotoMusic_Regular_otf, "Noto Music", MUPDF_SCRIPT_MUSIC, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(noto, NotoSansSymbols_Regular_otf, "Noto Sans Symbols", MUPDF_SCRIPT_SYMBOLS, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
ALIAS(noto, NotoSansSymbols_Regular_otf, "Noto Sans Symbols", UCDN_SCRIPT_BRAILLE, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(noto, NotoSansSymbols2_Regular_otf, "Noto Sans Symbols2", MUPDF_SCRIPT_SYMBOLS2, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
FONT(noto, NotoEmoji_Regular_ttf, "Noto Emoji", MUPDF_SCRIPT_EMOJI, FZ_LANG_UNSET, NO_SUBFONT, REGULAR)
#endif
#endif /* TOFU_NOTO */
#ifndef TOFU_CJK
#ifndef TOFU_CJK_EXT
#ifndef TOFU_CJK_LANG
FONT(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_HAN, FZ_LANG_ja, 0, REGULAR)
ALIAS(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_HIRAGANA, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_KATAKANA, FZ_LANG_UNSET, 0, REGULAR)
FONT(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_HAN, FZ_LANG_ko, 1, REGULAR)
ALIAS(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_HANGUL, FZ_LANG_UNSET, 1, REGULAR)
FONT(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_HAN, FZ_LANG_zh_Hans, 2, REGULAR)
FONT(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_HAN, FZ_LANG_zh_Hant, 3, REGULAR)
ALIAS(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_HAN, FZ_LANG_UNSET, 3, REGULAR)
ALIAS(han, SourceHanSerif_Regular_ttc, "Source Han Serif", UCDN_SCRIPT_BOPOMOFO, FZ_LANG_UNSET, 3, REGULAR)
#else
FONT(droid, DroidSansFallbackFull_ttf, "Droid Sans Fallback Full", UCDN_SCRIPT_HAN, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallbackFull_ttf, "Droid Sans Fallback Full", UCDN_SCRIPT_HANGUL, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallbackFull_ttf, "Droid Sans Fallback Full", UCDN_SCRIPT_HIRAGANA, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallbackFull_ttf, "Droid Sans Fallback Full", UCDN_SCRIPT_KATAKANA, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallbackFull_ttf, "Droid Sans Fallback Full", UCDN_SCRIPT_BOPOMOFO, FZ_LANG_UNSET, 0, REGULAR)
#endif
#else
FONT(droid, DroidSansFallback_ttf, "Droid Sans Fallback", UCDN_SCRIPT_HAN, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallback_ttf, "Droid Sans Fallback", UCDN_SCRIPT_HANGUL, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallback_ttf, "Droid Sans Fallback", UCDN_SCRIPT_HIRAGANA, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallback_ttf, "Droid Sans Fallback", UCDN_SCRIPT_KATAKANA, FZ_LANG_UNSET, 0, REGULAR)
ALIAS(droid, DroidSansFallback_ttf, "Droid Sans Fallback", UCDN_SCRIPT_BOPOMOFO, FZ_LANG_UNSET, 0, REGULAR)
#endif
#endif
|