From: Po Lu Date: Sun, 10 Sep 2023 05:46:52 +0000 (+0800) Subject: Update Android port X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=df18864aa9995694a653404c4e70a2d4caa24064;p=emacs.git Update Android port * src/sfntfont.c (sfntfont_probe_widths): Prevent widths of glyphs representing control characters from affecting the average width. --- diff --git a/src/sfntfont.c b/src/sfntfont.c index 410fafeddb6..877f7a3830d 100644 --- a/src/sfntfont.c +++ b/src/sfntfont.c @@ -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);