emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master df18864aa99: Update Android port


From: Po Lu
Subject: master df18864aa99: Update Android port
Date: Sun, 10 Sep 2023 01:48:54 -0400 (EDT)

branch: master
commit df18864aa9995694a653404c4e70a2d4caa24064
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Update Android port
    
    * src/sfntfont.c (sfntfont_probe_widths): Prevent widths of
    glyphs representing control characters from affecting the
    average width.
---
 src/sfntfont.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]