]> git.eshelyaron.com Git - emacs.git/commit
Further corrections to font scaling
authorPo Lu <luangruo@yahoo.com>
Tue, 19 Dec 2023 05:41:16 +0000 (13:41 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 21 Dec 2023 20:53:58 +0000 (21:53 +0100)
commit71ce8542785d7ce6d6e2497363f6054acda2c9b6
treed3342fe937ae38f26b337dedfb2401cef9441fac
parentf21ab8a2f9668a114f84c9f2d58c03f84d8b1fc9
Further corrections to font scaling

* src/sfnt.c (sfnt_dot_fix_14): Correct typo in final division.
(sfnt_compute_phantom_points): New parameters S1 and S2, into
which unrounded phantom point coordinates are saved.
(sfnt_interpret_simple_glyph, sfnt_interpret_compound_glyph_2)
(sfnt_interpret_compound_glyph_1): Adjust correspondingly.

* src/sfntfont.c (sfntfont_get_glyph_outline): Delete redundant
branch.

(cherry picked from commit f2693751dd20caa790aa8f0216d50499653f61d4)
src/sfnt.c
src/sfntfont.c