Crate google_fonts_subsets

Source
Expand description

Google Fonts Subsets

This is the collection of nam files (codepoint subsets) that are used to subset fonts before serving on the Google Fonts CSS API.

It exports the subsets as arrays of codepoints - for example, the latin subset is exported as LATIN: [u32; ...] = [0x0, 0x0d, ...];.

It also exports the SUBSETS array, which is a list of all subsets in the form of (&str, &[u32]) tuples. This is useful for iterating over all subsets.

Constants§

ADLAM
Codepoints for the subset ‘adlam’
AHOM
Codepoints for the subset ‘ahom’
ANATOLIAN_HIEROGLYPHS
Codepoints for the subset ‘anatolian-hieroglyphs’
ARABIC
Codepoints for the subset ‘arabic’
ARMENIAN
Codepoints for the subset ‘armenian’
AVESTAN
Codepoints for the subset ‘avestan’
BALINESE
Codepoints for the subset ‘balinese’
BAMUM
Codepoints for the subset ‘bamum’
BASSA_VAH
Codepoints for the subset ‘bassa-vah’
BATAK
Codepoints for the subset ‘batak’
BENGALI
Codepoints for the subset ‘bengali’
BHAIKSUKI
Codepoints for the subset ‘bhaiksuki’
BRAHMI
Codepoints for the subset ‘brahmi’
BRAILLE
Codepoints for the subset ‘braille’
BUGINESE
Codepoints for the subset ‘buginese’
BUHID
Codepoints for the subset ‘buhid’
CANADIAN_ABORIGINAL
Codepoints for the subset ‘canadian-aboriginal’
CARIAN
Codepoints for the subset ‘carian’
CAUCASIAN_ALBANIAN
Codepoints for the subset ‘caucasian-albanian’
CHAKMA
Codepoints for the subset ‘chakma’
CHAM
Codepoints for the subset ‘cham’
CHEROKEE
Codepoints for the subset ‘cherokee’
CHINESE_HONGKONG
Codepoints for the subset ‘chinese-hongkong’
CHINESE_SIMPLIFIED
Codepoints for the subset ‘chinese-simplified’
CHINESE_TRADITIONAL
Codepoints for the subset ‘chinese-traditional’
CHORASMIAN
Codepoints for the subset ‘chorasmian’
COPTIC
Codepoints for the subset ‘coptic’
CUNEIFORM
Codepoints for the subset ‘cuneiform’
CYPRIOT
Codepoints for the subset ‘cypriot’
CYPRO_MINOAN
Codepoints for the subset ‘cypro-minoan’
CYRILLIC
Codepoints for the subset ‘cyrillic’
CYRILLIC_EXT
Codepoints for the subset ‘cyrillic-ext’
DESERET
Codepoints for the subset ‘deseret’
DEVANAGARI
Codepoints for the subset ‘devanagari’
DIVES_AKURU
Codepoints for the subset ‘dives-akuru’
DOGRA
Codepoints for the subset ‘dogra’
DUPLOYAN
Codepoints for the subset ‘duployan’
EGYPTIAN_HIEROGLYPHS
Codepoints for the subset ‘egyptian-hieroglyphs’
ELBASAN
Codepoints for the subset ‘elbasan’
ELYMAIC
Codepoints for the subset ‘elymaic’
ETHIOPIC
Codepoints for the subset ‘ethiopic’
GARAY
Codepoints for the subset ‘garay’
GEORGIAN
Codepoints for the subset ‘georgian’
GLAGOLITIC
Codepoints for the subset ‘glagolitic’
GOTHIC
Codepoints for the subset ‘gothic’
GRANTHA
Codepoints for the subset ‘grantha’
GREEK
Codepoints for the subset ‘greek’
GREEK_EXT
Codepoints for the subset ‘greek-ext’
GUJARATI
Codepoints for the subset ‘gujarati’
GUNJALA_GONDI
Codepoints for the subset ‘gunjala-gondi’
GURMUKHI
Codepoints for the subset ‘gurmukhi’
GURUNG_KHEMA
Codepoints for the subset ‘gurung-khema’
HANIFI_ROHINGYA
Codepoints for the subset ‘hanifi-rohingya’
HANUNOO
Codepoints for the subset ‘hanunoo’
HATRAN
Codepoints for the subset ‘hatran’
HEBREW
Codepoints for the subset ‘hebrew’
IMPERIAL_ARAMAIC
Codepoints for the subset ‘imperial-aramaic’
INDIC_SIYAQ_NUMBERS
Codepoints for the subset ‘indic-siyaq-numbers’
INSCRIPTIONAL_PAHLAVI
Codepoints for the subset ‘inscriptional-pahlavi’
INSCRIPTIONAL_PARTHIAN
Codepoints for the subset ‘inscriptional-parthian’
JAPANESE
Codepoints for the subset ‘japanese’
JAVANESE
Codepoints for the subset ‘javanese’
KAITHI
Codepoints for the subset ‘kaithi’
KANA_EXTENDED
Codepoints for the subset ‘kana-extended’
KANNADA
Codepoints for the subset ‘kannada’
KAWI
Codepoints for the subset ‘kawi’
KAYAH_LI
Codepoints for the subset ‘kayah-li’
KHAROSHTHI
Codepoints for the subset ‘kharoshthi’
KHITAN_SMALL_SCRIPT
Codepoints for the subset ‘khitan-small-script’
KHMER
Codepoints for the subset ‘khmer’
KHOJKI
Codepoints for the subset ‘khojki’
KHUDAWADI
Codepoints for the subset ‘khudawadi’
KIRAT_RAI
Codepoints for the subset ‘kirat-rai’
KOREAN
Codepoints for the subset ‘korean’
LAO
Codepoints for the subset ‘lao’
LATIN
Codepoints for the subset ‘latin’
LATIN_EXT
Codepoints for the subset ‘latin-ext’
LEPCHA
Codepoints for the subset ‘lepcha’
LIMBU
Codepoints for the subset ‘limbu’
LINEAR_A
Codepoints for the subset ‘linear-a’
LINEAR_B
Codepoints for the subset ‘linear-b’
LISU
Codepoints for the subset ‘lisu’
LYCIAN
Codepoints for the subset ‘lycian’
LYDIAN
Codepoints for the subset ‘lydian’
MAHAJANI
Codepoints for the subset ‘mahajani’
MAKASAR
Codepoints for the subset ‘makasar’
MALAYALAM
Codepoints for the subset ‘malayalam’
MANDAIC
Codepoints for the subset ‘mandaic’
MANICHAEAN
Codepoints for the subset ‘manichaean’
MARCHEN
Codepoints for the subset ‘marchen’
MASARAM_GONDI
Codepoints for the subset ‘masaram-gondi’
MATH
Codepoints for the subset ‘math’
MAYAN_NUMERALS
Codepoints for the subset ‘mayan-numerals’
MEDEFAIDRIN
Codepoints for the subset ‘medefaidrin’
MEETEI_MAYEK
Codepoints for the subset ‘meetei-mayek’
MENDE_KIKAKUI
Codepoints for the subset ‘mende-kikakui’
MEROITIC
Codepoints for the subset ‘meroitic’
MEROITIC_CURSIVE
Codepoints for the subset ‘meroitic-cursive’
MEROITIC_HIEROGLYPHS
Codepoints for the subset ‘meroitic-hieroglyphs’
MIAO
Codepoints for the subset ‘miao’
MODI
Codepoints for the subset ‘modi’
MONGOLIAN
Codepoints for the subset ‘mongolian’
MRO
Codepoints for the subset ‘mro’
MULTANI
Codepoints for the subset ‘multani’
MUSIC
Codepoints for the subset ‘music’
MYANMAR
Codepoints for the subset ‘myanmar’
NABATAEAN
Codepoints for the subset ‘nabataean’
NAG_MUNDARI
Codepoints for the subset ‘nag-mundari’
NANDINAGARI
Codepoints for the subset ‘nandinagari’
NEWA
Codepoints for the subset ‘newa’
NEW_TAI_LUE
Codepoints for the subset ‘new-tai-lue’
NKO
Codepoints for the subset ‘nko’
NUSHU
Codepoints for the subset ‘nushu’
NYIAKENG_PUACHUE_HMONG
Codepoints for the subset ‘nyiakeng-puachue-hmong’
OGHAM
Codepoints for the subset ‘ogham’
OLD_HUNGARIAN
Codepoints for the subset ‘old-hungarian’
OLD_ITALIC
Codepoints for the subset ‘old-italic’
OLD_NORTH_ARABIAN
Codepoints for the subset ‘old-north-arabian’
OLD_PERMIC
Codepoints for the subset ‘old-permic’
OLD_PERSIAN
Codepoints for the subset ‘old-persian’
OLD_SOGDIAN
Codepoints for the subset ‘old-sogdian’
OLD_SOUTH_ARABIAN
Codepoints for the subset ‘old-south-arabian’
OLD_TURKIC
Codepoints for the subset ‘old-turkic’
OLD_UYGHUR
Codepoints for the subset ‘old-uyghur’
OL_CHIKI
Codepoints for the subset ‘ol-chiki’
OL_ONAL
Codepoints for the subset ‘ol-onal’
ORIYA
Codepoints for the subset ‘oriya’
OSAGE
Codepoints for the subset ‘osage’
OSMANYA
Codepoints for the subset ‘osmanya’
OTTOMAN_SIYAQ_NUMBERS
Codepoints for the subset ‘ottoman-siyaq-numbers’
PAHAWH_HMONG
Codepoints for the subset ‘pahawh-hmong’
PALMYRENE
Codepoints for the subset ‘palmyrene’
PAU_CIN_HAU
Codepoints for the subset ‘pau-cin-hau’
PHAGS_PA
Codepoints for the subset ‘phags-pa’
PHOENICIAN
Codepoints for the subset ‘phoenician’
PSALTER_PAHLAVI
Codepoints for the subset ‘psalter-pahlavi’
REJANG
Codepoints for the subset ‘rejang’
RUNIC
Codepoints for the subset ‘runic’
SAMARITAN
Codepoints for the subset ‘samaritan’
SAURASHTRA
Codepoints for the subset ‘saurashtra’
SHARADA
Codepoints for the subset ‘sharada’
SHAVIAN
Codepoints for the subset ‘shavian’
SIDDHAM
Codepoints for the subset ‘siddham’
SIGNWRITING
Codepoints for the subset ‘signwriting’
SINHALA
Codepoints for the subset ‘sinhala’
SOGDIAN
Codepoints for the subset ‘sogdian’
SORA_SOMPENG
Codepoints for the subset ‘sora-sompeng’
SOYOMBO
Codepoints for the subset ‘soyombo’
SUBSETS
All subsets in the form of (name, array)
SUNDANESE
Codepoints for the subset ‘sundanese’
SUNUWAR
Codepoints for the subset ‘sunuwar’
SYLOTI_NAGRI
Codepoints for the subset ‘syloti-nagri’
SYMBOLS
Codepoints for the subset ‘symbols’
SYMBOLS2
Codepoints for the subset ‘symbols2’
SYRIAC
Codepoints for the subset ‘syriac’
TAGALOG
Codepoints for the subset ‘tagalog’
TAGBANWA
Codepoints for the subset ‘tagbanwa’
TAI_LE
Codepoints for the subset ‘tai-le’
TAI_THAM
Codepoints for the subset ‘tai-tham’
TAI_VIET
Codepoints for the subset ‘tai-viet’
TAKRI
Codepoints for the subset ‘takri’
TAMIL
Codepoints for the subset ‘tamil’
TAMIL_SUPPLEMENT
Codepoints for the subset ‘tamil-supplement’
TANGSA
Codepoints for the subset ‘tangsa’
TANGUT
Codepoints for the subset ‘tangut’
TELUGU
Codepoints for the subset ‘telugu’
THAANA
Codepoints for the subset ‘thaana’
THAI
Codepoints for the subset ‘thai’
TIBETAN
Codepoints for the subset ‘tibetan’
TIFINAGH
Codepoints for the subset ‘tifinagh’
TIRHUTA
Codepoints for the subset ‘tirhuta’
TODHRI
Codepoints for the subset ‘todhri’
TOTO
Codepoints for the subset ‘toto’
TULU_TIGALARI
Codepoints for the subset ‘tulu-tigalari’
UGARITIC
Codepoints for the subset ‘ugaritic’
VAI
Codepoints for the subset ‘vai’
VIETNAMESE
Codepoints for the subset ‘vietnamese’
VITHKUQI
Codepoints for the subset ‘vithkuqi’
WANCHO
Codepoints for the subset ‘wancho’
WARANG_CITI
Codepoints for the subset ‘warang-citi’
YEZIDI
Codepoints for the subset ‘yezidi’
YI
Codepoints for the subset ‘yi’
ZANABAZAR_SQUARE
Codepoints for the subset ‘zanabazar-square’
ZNAMENNY
Codepoints for the subset ‘znamenny’

Functions§

subsets_in_font