Skip to content

Commit

Permalink
Fixing crash with bitmap fonts from #685
Browse files Browse the repository at this point in the history
  • Loading branch information
davelab6 committed Sep 9, 2013
1 parent 366248e commit d556150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fontforge/charview.c
Expand Up @@ -1302,6 +1302,7 @@ void CVDrawSplineSetOutlineOnly(CharView *cv, GWindow pixmap, SplinePointList *s
if ( cv->b.drawmode!=dm_grid
&& DrawOpenPathsWithHighlight
&& activelayer < cv->b.sc->layer_cnt
&& activelayer >= 0
&& SplinePointListContains( cv->b.sc->layers[activelayer].splines, spl )
&& spl->first
&& spl->first->prev==NULL )
Expand Down

2 comments on commit d556150

@adrientetar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(@davelab6: I'm not willing to merge the patch I outlined in #2086 for similar reasons – in this issue tho it's the input font that's crap, not FontForge's codegen as is the case here presumably.)

@davelab6
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not crashing is better than crashing imo :)

Please sign in to comment.