// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie // SPDX-License-Identifier: MIT //! Every script uucode knows, named as uucode names it and valued by its //! ISO 15924 code, which is how HarfBuzz identifies a script and what the //! OpenType script-tag mapping starts from. Generated once from uucode's //! `types.Script` and HarfBuzz's `hb-script-list.h`; a script uucode adds //! fails to compile in `script.fromUcd` until it is given a row here. const tag = @import("script.zig").isoTag; pub const Script = enum(u32) { /// No script at all, as distinct from `unknown`; what a buffer starts with. invalid = 0, adlam = tag("Adlm"), ahom = tag("Ahom"), anatolian_hieroglyphs = tag("Hluw"), arabic = tag("Arab"), armenian = tag("Armn"), avestan = tag("Avst"), balinese = tag("Bali"), bamum = tag("Bamu"), bassa_vah = tag("Bass"), batak = tag("Batk"), bengali = tag("Beng"), beria_erfe = tag("Berf"), bhaiksuki = tag("Bhks"), bopomofo = tag("Bopo"), brahmi = tag("Brah"), braille = tag("Brai"), buginese = tag("Bugi"), buhid = tag("Buhd"), canadian_aboriginal = tag("Cans"), carian = tag("Cari"), caucasian_albanian = tag("Aghb"), chakma = tag("Cakm"), cham = tag("Cham"), cherokee = tag("Cher"), chorasmian = tag("Chrs"), common = tag("Zyyy"), coptic = tag("Copt"), cuneiform = tag("Xsux"), cypriot = tag("Cprt"), cypro_minoan = tag("Cpmn"), cyrillic = tag("Cyrl"), deseret = tag("Dsrt"), devanagari = tag("Deva"), dives_akuru = tag("Diak"), dogra = tag("Dogr"), duployan = tag("Dupl"), egyptian_hieroglyphs = tag("Egyp"), elbasan = tag("Elba"), elymaic = tag("Elym"), ethiopic = tag("Ethi"), garay = tag("Gara"), georgian = tag("Geor"), glagolitic = tag("Glag"), gothic = tag("Goth"), grantha = tag("Gran"), greek = tag("Grek"), gujarati = tag("Gujr"), gunjala_gondi = tag("Gong"), gurmukhi = tag("Guru"), gurung_khema = tag("Gukh"), han = tag("Hani"), hangul = tag("Hang"), hanifi_rohingya = tag("Rohg"), hanunoo = tag("Hano"), hatran = tag("Hatr"), hebrew = tag("Hebr"), hiragana = tag("Hira"), imperial_aramaic = tag("Armi"), inherited = tag("Zinh"), inscriptional_pahlavi = tag("Phli"), inscriptional_parthian = tag("Prti"), javanese = tag("Java"), jurchen = tag("Jurc"), kaithi = tag("Kthi"), kannada = tag("Knda"), katakana = tag("Kana"), kawi = tag("Kawi"), kayah_li = tag("Kali"), kharoshthi = tag("Khar"), khitan_small_script = tag("Kits"), khmer = tag("Khmr"), khojki = tag("Khoj"), khudawadi = tag("Sind"), kirat_rai = tag("Krai"), lao = tag("Laoo"), latin = tag("Latn"), lepcha = tag("Lepc"), limbu = tag("Limb"), linear_a = tag("Lina"), linear_b = tag("Linb"), lisu = tag("Lisu"), lycian = tag("Lyci"), lydian = tag("Lydi"), mahajani = tag("Mahj"), makasar = tag("Maka"), malayalam = tag("Mlym"), mandaic = tag("Mand"), manichaean = tag("Mani"), marchen = tag("Marc"), masaram_gondi = tag("Gonm"), math = tag("Zmth"), medefaidrin = tag("Medf"), meetei_mayek = tag("Mtei"), mende_kikakui = tag("Mend"), meroitic_cursive = tag("Merc"), meroitic_hieroglyphs = tag("Mero"), miao = tag("Plrd"), modi = tag("Modi"), mongolian = tag("Mong"), mro = tag("Mroo"), multani = tag("Mult"), myanmar = tag("Mymr"), nabataean = tag("Nbat"), nag_mundari = tag("Nagm"), nandinagari = tag("Nand"), new_tai_lue = tag("Talu"), newa = tag("Newa"), nko = tag("Nkoo"), nushu = tag("Nshu"), nyiakeng_puachue_hmong = tag("Hmnp"), ogham = tag("Ogam"), ol_chiki = tag("Olck"), ol_onal = tag("Onao"), old_hungarian = tag("Hung"), old_italic = tag("Ital"), old_north_arabian = tag("Narb"), old_permic = tag("Perm"), old_persian = tag("Xpeo"), old_sogdian = tag("Sogo"), old_south_arabian = tag("Sarb"), old_turkic = tag("Orkh"), old_uyghur = tag("Ougr"), oriya = tag("Orya"), osage = tag("Osge"), osmanya = tag("Osma"), pahawh_hmong = tag("Hmng"), palmyrene = tag("Palm"), pau_cin_hau = tag("Pauc"), phags_pa = tag("Phag"), phoenician = tag("Phnx"), proto_cuneiform = tag("Pcun"), psalter_pahlavi = tag("Phlp"), rejang = tag("Rjng"), runic = tag("Runr"), samaritan = tag("Samr"), saurashtra = tag("Saur"), seal = tag("Seal"), sharada = tag("Shrd"), shavian = tag("Shaw"), siddham = tag("Sidd"), sidetic = tag("Sidt"), signwriting = tag("Sgnw"), sinhala = tag("Sinh"), sogdian = tag("Sogd"), sora_sompeng = tag("Sora"), soyombo = tag("Soyo"), sundanese = tag("Sund"), sunuwar = tag("Sunu"), syloti_nagri = tag("Sylo"), syriac = tag("Syrc"), tagalog = tag("Tglg"), tagbanwa = tag("Tagb"), tai_le = tag("Tale"), tai_tham = tag("Lana"), tai_viet = tag("Tavt"), tai_yo = tag("Tayo"), takri = tag("Takr"), tamil = tag("Taml"), tangsa = tag("Tnsa"), tangut = tag("Tang"), telugu = tag("Telu"), thaana = tag("Thaa"), thai = tag("Thai"), tibetan = tag("Tibt"), tifinagh = tag("Tfng"), tirhuta = tag("Tirh"), todhri = tag("Todr"), tolong_siki = tag("Tols"), toto = tag("Toto"), tulu_tigalari = tag("Tutg"), ugaritic = tag("Ugar"), unknown = tag("Zzzz"), vai = tag("Vaii"), vithkuqi = tag("Vith"), wancho = tag("Wcho"), warang_citi = tag("Wara"), yezidi = tag("Yezi"), yi = tag("Yiii"), zanabazar_square = tag("Zanb"), _, };