.. | ||
GF 2016 Glyph Sets | ||
arabic_unique-glyphs.nam | ||
bengali_unique-glyphs.nam | ||
cyrillic_unique-glyphs.nam | ||
cyrillic-ext_unique-glyphs.nam | ||
devanagari_unique-glyphs.nam | ||
ethiopic_unique-glyphs.nam | ||
greek_unique-glyphs.nam | ||
greek-ext_unique-glyphs.nam | ||
gujarati_unique-glyphs.nam | ||
gurmukhi_unique-glyphs.nam | ||
hebrew_unique-glyphs.nam | ||
japanese_unique-glyphs.nam | ||
kannada_unique-glyphs.nam | ||
khmer_unique-glyphs.nam | ||
lao_unique-glyphs.nam | ||
latin_unique-glyphs.nam | ||
latin-ext_unique-glyphs.nam | ||
malayalam_unique-glyphs.nam | ||
myanmar_unique-glyphs.nam | ||
oriya_unique-glyphs.nam | ||
README.md | ||
sinhala_unique-glyphs.nam | ||
tamil_unique-glyphs.nam | ||
telugu_unique-glyphs.nam | ||
thai_unique-glyphs.nam | ||
vietnamese_unique-glyphs.nam | ||
wgl-latin.enc |
This directory contains 'namelist' files, that list unicode characters followed by glyph names or glyph descriptions.
Typically all the Unicodes in each file are in each font. If the fonts go beyond that list, those additional characters will not be available to Fonts API end users.
The Google Fonts API uses these files in combination with pyftsubset to generate script subsets from the full .ttf
files in this repository.
The subsetting requires that each line must start with 0x
and then have 4 uppercase hex digits; what follows is an arbitrary description to the end of the line.
Comments are lines starting with #
.
A python script, tools/namelist.py
can generate these files:
namelist.py Font.ttf > NameList.nam
The [wgl-latin.enc]
file can be used by Fontlab Studio 5, and represented Microsoft's Windows Glyph List 4 glyph set.
A python script, tools/unicode_names.py
can reformat these files:
python unicode_names.py --nam_file=encodings/latin_unique-glyphs.nam;
0x0020 SPACE
0x0021 ! EXCLAMATION MARK
0x0022 " QUOTATION MARK
0x0023 # NUMBER SIGN
...