FL Studio Open Type Feature Problem: Syntax Error

Jui's picture

Hi!

I just wrote my first Open Type feature, but it doesn't work! I was trying to acheive a simple glyph substitution:

feature liga {
sub A E by AE;
} liga;

As I hit the »Compile« Button, the following Message appeared:

[FATAL] aborting because of errors:
syntax error at "feature"
[/Users/jurgen/Library/Application Support/FontLab/Studio 5/Features/fontlab.fea 6]

Why? What can I do?

Thanks in advance,
Juergen

blank's picture

Try restarting Fontlab. If that doesn’t work, see if you can compile the OT code in Free Font Pro, if not, your Fontlab install might be corrupt.

And just in case you aren’t just using it as a test, AE is a letter, not a ligature, and shouldn’t have ligature code.

Jui's picture

Hi!

Now it works! I don't know exactly why. I thought I did a restart yesterday and it doesn't worked.

Thanks for your help, anyway!

(YEEESSS, I know AE is not a ligature : ) It was just a quick test with the few glyphs I have so far)

Best,
Juergen

Syndicate content Syndicate content