I met a Syntax Error warning when compiling a custom OpenType layouts script (or exporting this font file with OT features). said .null or .notdef is not a valid glyph name.
not a big problem, but I think these names are default specifications. right?
[Resolved] OpenType layouts script syntax error
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: OpenType layouts script syntax error
This is indeed a bug. The next upcoming release will not be so strict on glyph names, thus will accept names like .notdef and .null.
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: OpenType layouts script syntax error
So far we haven't fixed this issue, but there is an easy work-around which I'd like to share:
Either remove the lines which include the .notdef glyph name, or probably a better work-around: change the glyph name of the .notdef glyph, to notdef (leaving out the dot), and change the name in the script accordingly.
Note: For people who fear this is not allowed, don't worry as changing the glyph name in version 7.5 is perfectly fine, since on export FontCreator will automatically rename the glyph name back to .notdef, but after the script has been compiled.
Either remove the lines which include the .notdef glyph name, or probably a better work-around: change the glyph name of the .notdef glyph, to notdef (leaving out the dot), and change the name in the script accordingly.
Note: For people who fear this is not allowed, don't worry as changing the glyph name in version 7.5 is perfectly fine, since on export FontCreator will automatically rename the glyph name back to .notdef, but after the script has been compiled.
Re: OpenType layouts script syntax error
Sneaky!Erwin Denissen wrote:Note: For people who fear this is not allowed, don't worry as changing the glyph name in version 7.5 is perfectly fine, since on export FontCreator will automatically rename the glyph name back to .notdef, but after the script has been compiled.