Update Android port

* src/sfntfont.c (sfntfont_probe_widths): Prevent widths of
glyphs representing control characters from affecting the
average width.
This commit is contained in:
Po Lu 2023-09-10 13:46:52 +08:00
parent c0400151f8
commit df18864aa9

View file

@ -2610,7 +2610,7 @@ sfntfont_probe_widths (struct sfnt_font_info *font_info)
/* Next, loop through the common ASCII characters. Tally up their
advance widths and set space_width if necessary. */
for (i = 0; i < 127; ++i)
for (i = 32; i < 127; ++i)
{
glyph = sfntfont_lookup_glyph (font_info, i);