]> git.eshelyaron.com Git - emacs.git/commit
Apply TTF advance width rounding to uninstructed glyphs
authorPo Lu <luangruo@yahoo.com>
Mon, 25 Dec 2023 07:38:15 +0000 (15:38 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 25 Dec 2023 07:38:15 +0000 (15:38 +0800)
commit1be132731d31c3752b275735e5dbe1f60d1988c3
tree4b06f212052a83f8d079545aee2edaf56056d395
parent995dd36da1df70c55ef2e72d4ff5b2641cc83292
Apply TTF advance width rounding to uninstructed glyphs

* src/sfnt.c (sfnt_scale_metrics):

* src/sfntfont.c (sfntfont_get_glyph_outline): Round advance and
floor lbearing scaling glyph metrics.
(sfntfont_measure_pcm): Don't round or truncate metrics which
have already been.
src/sfnt.c
src/sfntfont.c