1
0
mirror of https://github.com/google/fonts.git synced 2024-11-28 11:00:21 +03:00
fonts/tools/encodings
Dave Crossland 8fa153fbda latin_unique-glyphs.nam: Add 0x2026 ellipsis
Users report problems with our fonts as wordpress and other rich text systems automatically replace 3 `.` with the unicode character `…`, so I propose to add this to the latin subsets where available, and in time add it to all the fonts
2015-06-22 10:28:05 -04:00
..
arabic_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
cyrillic_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
cyrillic-ext_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
devanagari_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
greek_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
greek-ext_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
hebrew_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
khmer_unique-glyphs.nam Update khmer_unique-glyphs.nam 2015-06-08 07:43:24 -04:00
lao_unique-glyphs.nam Adding tools/encodings/lao_unique-glyphs.nam 2015-06-11 10:51:36 -04:00
latin_unique-glyphs.nam latin_unique-glyphs.nam: Add 0x2026 ellipsis 2015-06-22 10:28:05 -04:00
latin-ext_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
myanmar_unique-glyphs.nam Adding tools/encodings/myanmar_unique-glyphs.nam 2015-06-11 23:17:21 -04:00
namelist.py namelist.py: rewrite with fontTools 2015-06-12 13:22:49 -04:00
README.md + tools/encodings/README.md 2015-06-17 22:15:15 -04:00
telugu_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
vietnamese_unique-glyphs.nam I<3 nam files 2015-03-16 11:14:46 -07:00
wgl-latin.enc I<3 nam files 2015-03-16 11:14:46 -07:00

This directory contains 'namelist' files, that list unicode characters followed by glyph names or glyph descriptions.

The Google Fonts API uses these files in combination with pyftsubset to generate script subsets from the full .ttf files in this repository.

That use 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, [namelist.py](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.