To automatically generate Unicode codeponts for selected glyph cells, select the Font > Generate Unicodes menu command.
FontLab VI will:
- Remove all Unicode data for selected glyphs.
- Search FontLab’s name<>Unicode database for each glyph’s name.
- If the name is in the database it adds the Unicode codepoint linked with this name to the glyph’s list of Unicode codepoints.
- Because the database may have more than one Unicode codepoint for a single name, steps 2 and 3 are processed whenever a glyph’s name is found in the database; a glyph may end up with multiple codepoints.
The database that links Unicode codepoints and glyph names is nothing more than a text file standard.nam located in
FontLab VI.app/Contents/Resources on macOS or
\Program Files\FontLab\FontLab VI\Resources\ on Windows. If you need to use your own custom file, set its location in Prefernces > General and restart FontLab.
The standard.nam file has the following structure:
%FontLab NAMETABLE[: Database_name] 0x0000 .notdef 0x0002 nonmarkingreturn 0x0020 visiblespace 0x0020 space . . . . . . . . .
The Unicode codepoint may be in decimal or hex (started with ‘0x’) form. The name should not have any spaces. Names are case sensitive.
One Unicode codepoint may be linked with more than one name, and several Unicode codepoints may be linked with one name.
When a name is preceded by ‘!’, it means that Unicode may be generated from this name, but none of the marked names will be generated from this Unicode value. This is necessary when none of the glyph’s names is included in the list of standard names supported by Adobe (Adobe Glyph List). For example, glyph names that are on the Adobe Glyph List, but not on the Adobe Glyph List for New Fonts. This allows FontLab to generate correct Unicode codepoints for glyphs with less common/standard names, even though they are not names that FontLab will assign.
You can extend this file in any text editor, but we strongly recommend not changing it. You can better create a new file and make a link to it on the Preferences > Font Window page:
See Glyph Naming and Encoding for more information.