Skip to content

Commit

Permalink
Fix crashing on processing fea file on empty glyphs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhosken committed Feb 19, 2015
1 parent eae790a commit 39d7a55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fontforge/featurefile.c
Expand Up @@ -7179,6 +7179,8 @@ static void fea_NameLookups(struct parseState *tok) {
oldapm = NULL;
lastap = NULL;
sc = sf->glyphs[gid];
if (!sc)
continue;
for ( ap=sc->anchor; ap!=NULL; ap=ap->next ) {
if ( ap->anchor==ac ) {
if ( ap->type==at_mark || ap->type==at_centry ) {
Expand Down

0 comments on commit 39d7a55

Please sign in to comment.