[FATAL] Some glyphs used in feature file were not found in the font

Martin Silvertant's picture

I'm working on a typeface I've been working on for a year and I'm nearly done. Today I added a few more kerning classes and kerned hundreds of kerning pairs. I spent hours on it today and I was excited to be done and generate the font and I get an error stating I can't generate the font because some glyphs used in the feature file were not found in the font.

Now, this seems an easy problem to fix. I just don't know how. Can someone tell me what I need to be looking at? Today I replaced a few characters and added some kerning classes in both Bold and Light and I get the same error in both versions so I'm quite sure the problem is in one of the kerning classes.

As far as I can remember these are the classes I added:
_a.ss01: a' a.ss01 aacute.ss01 acircumflex.ss01 adieresis.ss01 agrave.ss01 aring.ss01 atilde.ss01
_i: i' iacute icircumflex idieresis igrave imacron iogonek iring dotlessi
_y: y' yacute ycircumflex ydieresis ygrave
_period: period' comma colon semicolon ellipsis
_question: question' question.ss03
_copy: copyright' registered

Is there a typo somewhere or am I doing something wrong? How can I check which glyphs are supposedly missing from the font?

George Thomas's picture

Check spelling in the feature file, especially of alternate characters you may have added. Also make absolutely sure that everything you may have added to the feature file really does exist in the font. That's what the error message is about, so it is either spelling or one or more glyphs really are missing.

Martin Silvertant's picture

Is there no way to let "it" tell me which glyphs it's missing? It seems ridiculous that I have to check all glyphs while it very well knows where things are going wrong. FontLab and their vague error messages...

I know that when you add glyphs to OT while they're not actually in the font, FontLab will ask if you want to create these extra glyphs. Why can't it do that now?

Where can I get the feature file? I forgot.

JanekZ's picture

In FontForge when you do "File -> Merge Feature info" and font is missing some glyphs listed in .fea file these glyphs are automagically created. New created glyphs are - of course - empty and no warning is created.
"Where can I get the feature file? I forgot."
In "OpenType" window, OpenType menu, Save Features.

And ( http://sourceforge.net/adobe/aglfn/wiki/AGL%20Specification/ ):
"All glyph names a subject to a length-limit of 31 characters in some current software implementations, and require that they be entirely composed of characters from the following set: A–Z, a–z, 0–9, . (period, U+002E; FULL STOP), and _ (underscore, U+005F; LOW LINE)."

Martin Silvertant's picture

Thanks a lot. I found the mistake simply by compiling in the OpenType section and FontLab told me the iring (obviously) doesn't exist. I copied other strings of accented characters (in this case probably the u-accented characters) into the class for the i-accented characters and simply replaced the starting letter so I don't have to retype 'circumflex' and all that and forgot to remove the iring.

Maliphant's picture


I'm getting:
[FATAL] Some glyphs used in feature file were not found in the font
ERROR: There was a problem while compiling OpenType font. Final .otf font is not saved.

What does "compiling in the OpenType section" mean?

Martin Silvertant's picture

If you open the OpenType panel (see JanekZ's post) and click on the fourth icon (the arrow pointing down to the sheets of paper), you will compile the OT functions and FontLab should tell you which characters are missing from your font.

Syndicate content Syndicate content