]> 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)
committerPo Lu <luangruo@yahoo.com>
Tue, 19 Dec 2023 08:42:38 +0000 (16:42 +0800)
commit0a57e1cd2c97db3a990f88043dc4a53619390228
tree4ea79d103cfb19e2de9748f3c50c2fc8e8a58bb9
parentd0e3dfa764cdb5c15c2a525b455df495097a86bb
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.
src/sfnt.c