What does this error mean? - There was a problem while compiling OpenType font

russ_mcmullin's picture

I've only been working with FontLab 5.02 (PC version) for a short time and I keep getting this message when I try to save an OpenType font:

ERROR: There was a problem while compiling OpenType font. Final .otf font is not saved. Please, check OpenType features definition for errors

It's probably a newbie error, but it's got me baffled.

russ_mcmullin's picture

I got it to work after I populated the Names and Copyright section under Font Info.

Now I need to figure out how to keep the kerning. I've done some manual kerning, and it works in the metrics window, but not in the font itself. I'm using Illustrator CS2 to test it.

Miguel Sousa's picture

Update the 'kern' feature manually, or change your preferences so that it gets updated automatically every time you generate your fonts.

russ_mcmullin's picture

Thanks for the feedback Miguel. I have that box checked, but the kerning is still not showing up when I test it in Illustrator. Here are the settings I'm using:

Miguel Sousa's picture

Try to uncheck the option "Export old-style non-OpenType kern table". Kerning in OpenType CFF fonts (.otf) should be done via the kern feature, not via the kern table.

russ_mcmullin's picture

Thanks again Miguel for your post. I unchecked the box, but I'm having the same problem. I was planning to read up on class kerning soon, but hoped to get by in the mean time by experimenting with manual kerning. It works great in the metrics window. I guess OpenType requires more.

mikej's picture

I'm having the same error here, does anyone knows how to get rid of this error?

thanks

mikej's picture

Damn, while doing my kerning classes I forgot to check "Class Kerning" - this might cause this prob?

Please help me!

mikej's picture

Ok, after adding some font information over font info panel the error dissapear, but there is no kern in my font!
It looks good at the Metrics Panel!!!
*head explotes

twardoch's picture

Please put your .vfb file, screenshots from your OpenType Export preferences in FontLab Studio, and the final .otf file into one zip file, and attach it to the problem report at http://www.fontlab.com/support/problem/

How do you determine that "there is no kern in your font"?

Cheers,
Adam

yakunins's picture

I've got the same error (ERROR: There was a problem while compiling OpenType font. Final .otf font is not saved. Please, check OpenType features definition for errors), but when i try to generate otf in different location (font2.otf) the result was OK!

font1.otf
font2.otf

I couldn't delete font1.otf. It was uninstalled, but Illustrator was opened with artwork and type (font1.otf) in it.

Then i delete this file with Unlocker v1.8.7 (strange, it said "no locking handle found")

Tosche's picture

I have another error. I use FontLab 5.02 and it never finishes compiling. It goes like this:
[Duplicate target glyph for single substitution in 'salt' feature]
I don't know how to get rid of this. Maybe it is very simple mistake though...

And I have another problem. I want to program multiple stylistic alternates for single glyph like this:
sub g from [g_alt1 g_alt2 g_alt3];
But it says that there should be only one alternate glyph in salt feature. Is there any way?

TheOtherNick's picture

FontLab is notoriously unhelpful regarding the cause of certain problems, but I have encountered this problem before. Look for an open contour: just one can screw up the font generation process.

jhilgert00's picture

You must define and build your open type font names in File>Font Info to avoid this error. I had the same issue, just filled out the font info, and oila! No more mysterious error. My kerning and ligatures started working in Illustrator as well. Apparently this error has nothing to do with the open type features as the error suggests.

Jay

Syndicate content Syndicate content