1
0
mirror of https://github.com/google/fonts.git synced 2024-12-15 03:23:23 +03:00
fonts/tools/encodings/README.md
2015-06-17 22:15:15 -04:00

853 B

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.