projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c040015
)
Update Android port
author
Po Lu
<luangruo@yahoo.com>
Sun, 10 Sep 2023 05:46:52 +0000
(13:46 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 10 Sep 2023 05:48:39 +0000
(13:48 +0800)
* src/sfntfont.c (sfntfont_probe_widths): Prevent widths of
glyphs representing control characters from affecting the
average width.
src/sfntfont.c
patch
|
blob
|
history
diff --git
a/src/sfntfont.c
b/src/sfntfont.c
index 410fafeddb69db6865842befd643eec96c7abb40..877f7a3830d7635cbe558aac79992ee24f35fc76 100644
(file)
--- 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);