Hi,
Many of my lookups are named with specific info in parentheses. i.e. PairAdjustment (lowercase). As I was just curious to see how a particular lookup would read in FEA, I noticed it would not complete its syntax check, stating the parentheses as the error. Is it a FEA thing that parentheses should not be used for lookup names or is this a bug in FC?
Running FC 13 .2664
[CLOSED] FEA syntax check error?
-
- Posts: 65
- Joined: Sun Sep 02, 2018 1:24 am
[CLOSED] FEA syntax check error?
Font Creator 13
Windows 7 and 10 Pro
Windows 7 and 10 Pro
-
- Moderator
- Posts: 11194
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: FEA syntax check error?
The Adobe FEA OpenType Feature File Specification syntax has more restrictions than our own syntax.
These length and name restrictions apply to both glyph name and lookup label:
Optionally an initial backslash serves to differentiate a name from an identical keyword in the feature file language.
These length and name restrictions apply to both glyph name and lookup label:
- Maximum of 63 characters in length
- Must be entirely comprised of characters from the following set:
Code: Select all
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
. # period
_ # underscore
* # Asterisk
+ # Plus sign
- # Hyphen-minus
: # Colon
^ # Circumflex accent
| # Vertical bar
~ # Tilde
-
- Posts: 65
- Joined: Sun Sep 02, 2018 1:24 am
Re: FEA syntax check error?
Good to know!Erwin Denissen wrote: ↑Sat Jun 20, 2020 8:11 am The Adobe FEA OpenType Feature File Specification syntax has more restrictions than our own syntax.
These length and name restrictions apply to both glyph name and lookup label:
- Maximum of 63 characters in length
- Must be entirely comprised of characters from the following set:
Optionally an initial backslash serves to differentiate a name from an identical keyword in the feature file language.Code: Select all
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 . # period _ # underscore * # Asterisk + # Plus sign - # Hyphen-minus : # Colon ^ # Circumflex accent | # Vertical bar ~ # Tilde
Thank you for the info
Font Creator 13
Windows 7 and 10 Pro
Windows 7 and 10 Pro