[CLOSED] FEA syntax check error?

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

[CLOSED] FEA syntax check error?

Post by Bmeister » Sat Jun 20, 2020 4:23 am

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: 9138
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: FEA syntax check error?

Post by Erwin Denissen » 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.
Erwin Denissen
High-Logic
Proven Font Technology

Bmeister
Posts: 60
Joined: Sun Sep 02, 2018 1:24 am

Re: FEA syntax check error?

Post by Bmeister » Sat Jun 20, 2020 2:51 pm

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