How do I sort this when generating in FontLab?

Primary tabs

10 posts / 0 new
Last post
Nick Cooke's picture
Offline
Joined: 25 May 2004 - 2:29am
How do I sort this when generating in FontLab?
0

This warning always appears when I generate an otf in FL 5.1. It never appeared in FL5.0.4.

[WARNING] [internal] Feature block seen before any language system statement. You should place languagesystem statements before any feature definition [/Users/nickcooke/Library/Application Support/FontLab/Studio 5/Features/fontlab.fea 6]

How do I place the languagesystem statements before any feature definition?

Thanks.

Andreas Eigendorf's picture
Joined: 2 Sep 2006 - 4:12am
0


Best
Eigi

George Thomas's picture
Offline
Joined: 24 Apr 2000 - 7:46pm
0

These may help:
This link has a lengthy explanation of why it is happening and tells you how to fix it manually.
http://forum.fontlab.com/index.php?topic=8278.0
That page also has a broken link to a Python script called Update_Fea.zip which will fix the problem for you.

The script can be found now at this link:
http://forum.fontlab.com/index.php?topic=8203.0

George

George Thomas's picture
Offline
Joined: 24 Apr 2000 - 7:46pm
0

...

George Thomas's picture
Offline
Joined: 24 Apr 2000 - 7:46pm
0

...

George Thomas's picture
Offline
Joined: 24 Apr 2000 - 7:46pm
0

Sorry about all the extra posts. Initially, because I included links my comment got flagged as spam and in attempting to get that resolved, the duplicate ones showed up so I edited them out to the extent I could.

Nick Cooke's picture
Offline
Joined: 25 May 2004 - 2:29am
0

Thanks Andreas, but that doesn't mean anything to me.

Thanks George, but I still can't find "Upgrade_FEA" on that site.

Hello? Anyone from FontLab? How do I sort this?

Mark Simonson's picture
Offline
Joined: 3 Dec 2001 - 11:00am
0

In that lower right part of the OT Panel, you need to add at least this:

languagesystem DFLT dflt;
languagesystem latn dflt;

Add others if your font support other language systems.

This is all related to the fact that the more recent versions of FontLab include a more recent version of the Adobe Font Development Kit for OpenType (AFDKO), which requires these language systems to be declared. It used to be optional.

Anything you type in the lower right portion of the OT Panel in FontLab gets inserted at the beginning of all your OT code when it is compiled, and that's where you put the language system declarations.

Nick Cooke's picture
Offline
Joined: 25 May 2004 - 2:29am
0

Thanks Mark. That seems to have sorted the problem.

jum's picture
jum
Offline
Joined: 20 Apr 2009 - 5:19am
0

i’ve got only a very faint clue of what i hacked here, but your input worked for me as well [aalt]:

@zero_target = [
#
zero.zero ];
languagesystem DFLT dflt;
languagesystem latn dflt;

thanks!