[CLOSED] FEA syntax check error?

Post your bug reports here. Include information that helps us to understand and reproduce the bug.
Post Reply
Bernie Cossentino
Posts: 65
Joined: Sun Sep 02, 2018 1:24 am

[CLOSED] FEA syntax check error?

Post by Bernie Cossentino »

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
Font Creator 13
Windows 7 and 10 Pro
Erwin Denissen
Moderator
Moderator
Posts: 11107
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: FEA syntax check error?

Post by Erwin Denissen »

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:

Code: Select all

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
. # period
_ # underscore
* # Asterisk
+ # Plus sign
- # Hyphen-minus
: # Colon
^ # Circumflex accent
| # Vertical bar
~ # Tilde
Optionally an initial backslash serves to differentiate a name from an identical keyword in the feature file language.
Erwin Denissen
High-Logic
Proven Font Technology
Bernie Cossentino
Posts: 65
Joined: Sun Sep 02, 2018 1:24 am

Re: FEA syntax check error?

Post by Bernie Cossentino »

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:

Code: Select all

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
. # period
_ # underscore
* # Asterisk
+ # Plus sign
- # Hyphen-minus
: # Colon
^ # Circumflex accent
| # Vertical bar
~ # Tilde
Optionally an initial backslash serves to differentiate a name from an identical keyword in the feature file language.
Good to know!

Thank you for the info :)
Font Creator 13
Windows 7 and 10 Pro
Post Reply