Skip to content

Commit

Permalink
Fix missing glyph handling in modified stb_truetype.h (ttf branch)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Jan 14, 2015
1 parent 188165a commit 4f6643c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stb_truetype.h
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,7 @@ int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, stbtt_fontinfo *inf
rects[k].w = (stbrp_coord) (x1-x0 + spc->padding + spc->h_oversample-1);
rects[k].h = (stbrp_coord) (y1-y0 + spc->padding + spc->v_oversample-1);
} else {
rects[k].w = rects[k].h = 0;
rects[k].w = rects[k].h = 1;
}
++k;
}
Expand Down

0 comments on commit 4f6643c

Please sign in to comment.