aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-09-10 13:46:52 +0800
committerPo Lu2023-09-10 13:48:39 +0800
commitdf18864aa9995694a653404c4e70a2d4caa24064 (patch)
tree5d206868bb14f13858cf288ecc77b0a16a14f1e8
parentc0400151f8880862d460f0e47be287237a6182ad (diff)
downloademacs-df18864aa9995694a653404c4e70a2d4caa24064.tar.gz
emacs-df18864aa9995694a653404c4e70a2d4caa24064.zip
Update Android port
* src/sfntfont.c (sfntfont_probe_widths): Prevent widths of glyphs representing control characters from affecting the average width.
-rw-r--r--src/sfntfont.c2
1 files changed, 1 insertions, 1 deletions
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)
2610 2610
2611 /* Next, loop through the common ASCII characters. Tally up their 2611 /* Next, loop through the common ASCII characters. Tally up their
2612 advance widths and set space_width if necessary. */ 2612 advance widths and set space_width if necessary. */
2613 for (i = 0; i < 127; ++i) 2613 for (i = 32; i < 127; ++i)
2614 { 2614 {
2615 glyph = sfntfont_lookup_glyph (font_info, i); 2615 glyph = sfntfont_lookup_glyph (font_info, i);
2616 2616