New to Typophile? Accounts are free, and easy to set up.
I get the following messages when trying to output a font or when hitting the compile button on the OpenType panel:
[WARNING] Glyph class @FLSFNT823E redefined [/Users/chrisL/Library/Application Support/FontLab/Studio 5/Features/fontlab.fea 110]
[WARNING] Glyph class @DezBoulder-Alter redefined [/Users/chrisL/Library/Application Support/FontLab/Studio 5/Features/fontlab.fea 110]
I have searched through all my classes but find nothing odd. What does the above mean and how do I fix it?
Thanks!
24 Oct 2009 — 1:33am
Hello Mr Lozos, you have classes of the same name defined in the Classes Panel as well as in the bottom segment of the OpenType Panel, and in Preferences > General Options > Unicode and OpenType have the option Add all glyph classes to OpenType feature definition code activated. So either deactivate the options or remove class definitions from the OpenType Panel segment. Karsten
24 Oct 2009 — 5:32am
You really should make another PDF document about these kind of stuff, Mr. Luecke. :D
24 Oct 2009 — 7:55am
Thanks, Karsten, I will try that! I have no ideal how all that happened. It surely was not on purpose. I wonder why the error message didn't say that or something more helpful instead of what tey wrote?
ChrisL
24 Oct 2009 — 11:11am
This only happens to annoy you. FL is very whimsical in that respect.
24 Oct 2009 — 2:08pm
Yes, Juergen, and it is doing a very good job of annoying me :-)
Karsten's suggestion did not work. Now, instead of "fea 110" it is "fea 107" whatever that means.
[WARNING] Glyph class @DezBoulder-Alter redefined [/Users/chrisL/Library/Application Support/FontLab/Studio 5/Features/fontlab.fea 107]
[WARNING] Glyph class @FLSFNT1749 redefined [/Users/chrisL/Library/Application Support/FontLab/Studio 5/Features/fontlab.fea 107]
ChrisL
24 Oct 2009 — 2:48pm
Could you send me the font?
24 Oct 2009 — 3:33pm
Sure can! Thanks!
ChrisL
25 Oct 2009 — 7:12pm
Karsten said:
Preferences > General Options > Unicode and OpenType have the option Add all glyph classes to OpenType feature definition code activated. So either deactivate the options or remove class definitions from the OpenType Panel segment.
Does this nullify all classes in exported fonts? For example, if I have kerning classes set up, and I disable that option, will class kerning be disabled in exported fonts or will they still work?
26 Oct 2009 — 12:52am
Thanks to Karsten for his generous help offline, I solved all my problems!
ChrisL
26 Oct 2009 — 12:56am
BTW, Ray, deactivating that option did not solve my problem so I did not do it. I had a duplicate kerning class but no left or right activated so it did not show up when I clicked the Yin-Yang button but still caused the error message.
ChrisL
26 Oct 2009 — 2:00am
Mr Larabie, perhaps it is easier to answer your question by describing roughly how OpenType feature export works:
Features defined in the OpenType Panel and text located in the OpenType Panel's bottom field will be merged into a single feature definition text file. This file serves as input for AFDKO with which FLS5 compiles OT layout tables.
If you have activated the option Add all glyph classes to OpenType feature definition code, the Classes Panel's class definitions will be converted into AFDKO syntax and included in this feature definition text file too.
Now two problems may occur:
(a) If a class name is shared by a class defined in the Classes Panel and by a class defined in the OpenType Panel's bottom field, and if the Add option is activated, then AFDKO will find two definitions for the same class in this feature definition text file, use the later definition, and emit a warning. This means: despite of the warning it will compile. You only get in trouble if the content of the identaically named classes differs. Then you may end up with too little or too much kerning. This is similar to what Mr Lozos experienced. In his case, the classes that shared a name were both in the Classes Panel -- the effect is the same though.
(b) If there are no class definitions in the OpenType Panel's bottom field and the Add option is deactivated (class definitions from the Classes Panel will be ignored), then MakeOTF will complain too -- but this time compilation of OT layout tables will fail. This is the case you describe.
29 Oct 2009 — 6:24am
How about this message:
[FATAL] GPOS feature \'kern\' causes overflow of offset to a subtable (0x149326)
ERROR: There was a problem while compiling OpenType font. Final .otf font is not saved. Please, check OpenType features definition for errors
This font is a rather lively script with some 1600 ligatures, and the number of kerning pairs is currently at 335887 (it takes FontLab some time to calculate that).
I'm wondering wheather I've reached the limit of FontLab Studio or something else…
29 Oct 2009 — 10:17am
Are you using class kerning?
ChrisL
29 Oct 2009 — 10:40am
I did at first, but deleted those, both from classes and from OT panel. No help. And anyway, class based kerning didn't work for my design; too lively for that.
29 Oct 2009 — 11:15am
The classes would help reduce the number of pairs. Surely SOME classes would help? You would also have to clear all the unintentional exceptions (the ones in red that are not needed).
ChrisL
29 Oct 2009 — 11:59am
Yes, I see your point, but because of the nature of the design, there'll still be a huge amount of kerning pairs. I'm waiting for a responce from FontLab, but at this moment I'm contemplating turning Suomi Scrip a free font, since I can't maintain a commercial quality…
29 Oct 2009 — 12:27pm
or you may wish to work with a consultant like Tal Leming?
ChrisL
29 Oct 2009 — 1:48pm
Yes; I have been thinking of Tal, or perhaps Rodrigo from Psy/Ops, but I have this quirk that if I give my font to somebody else to tinker with, it's no longer my font. It's stupid, but there you go…
Here's a sample of the font. I basically took my hadwriting ITC'd it. In other words, I polished and tweaked it so that even I can't recognise my writing from it. Tell me what you think.
29 Oct 2009 — 5:09pm
Tomi, you can see here under the title "My Kern Runneth Over" Ben Kiel's talk about your problem and how to solve it. I had the same problem with my italic and bold italic--which also have swash characters and small caps and many thousands of kerns and over 150 kerning groups. The problem was solved by having a recent version of Tal Leming's Metrics Machine export the .fea file "with subtables." Ben Keil talks about this and other ways to solve the problem.
30 Oct 2009 — 1:23am
Thanks, I'll see if that can help.