]> git.eshelyaron.com Git - emacs.git/commit
Fix graphics state when instructing glyphs
authorPo Lu <luangruo@yahoo.com>
Wed, 8 Feb 2023 12:03:19 +0000 (20:03 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 8 Feb 2023 12:03:19 +0000 (20:03 +0800)
commit7fb0df0ce2858eeb03ec18b540acf49a5b8d90c9
treec8ff7878b6a6b680fdef03031a858f99879dc9ca
parentad3def330cd0696c832f338dcf8b913e0d8e2b35
Fix graphics state when instructing glyphs

* src/sfntfont.c (sfntfont_get_glyph_outline): Take new argument
STATE and restore it prior to instructing the glyph.
(sfntfont_measure_instructed_pcm, sfntfont_measure_pcm)
(sfntfont_draw): Adjust accordingly.
src/sfntfont.c