]> git.eshelyaron.com Git - emacs.git/commit
Improve efficiency of operations involving font interpreter scale
authorPo Lu <luangruo@yahoo.com>
Tue, 19 Dec 2023 08:42:38 +0000 (16:42 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 21 Dec 2023 20:53:58 +0000 (21:53 +0100)
commit1a8f28763a8324938784f0de58b39daa89d83e25
tree2845fa57c2af741e7be5400cc68eb73ac3f116e8
parent49f0e2320ebbafcb5fe7aff755a85666d5b93a45
Improve efficiency of operations involving font interpreter scale

* src/sfnt.c (sfnt_mul_f26dot6_fixed): Correct rounding
constant.
(sfnt_make_interpreter, SSW, WCVTF, sfnt_compute_phantom_points)
(sfnt_interpret_simple_glyph, sfnt_interpret_compound_glyph_1)
(sfnt_vary_interpreter, sfnt_check_ssw): Account for the
fractional bits in a f26dot6 when computing the interpreter
scale factor.

(cherry picked from commit 0a57e1cd2c97db3a990f88043dc4a53619390228)
src/sfnt.c