]> 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)
committerPo Lu <luangruo@yahoo.com>
Tue, 19 Dec 2023 05:41:16 +0000 (13:41 +0800)
commitf2693751dd20caa790aa8f0216d50499653f61d4
tree5ad7c9c69f73005f2e8454d17b623d9e1b0ef5cd
parent20e39a12e491ce82ee581b6d99a4e2770218e0c6
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.
src/sfnt.c
src/sfntfont.c