]> git.eshelyaron.com Git - emacs.git/commit
Fix IUP for contours which start past end
authorPo Lu <luangruo@yahoo.com>
Fri, 10 Feb 2023 09:55:01 +0000 (17:55 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 10 Feb 2023 09:55:01 +0000 (17:55 +0800)
commit60270d8ee30ee15b5ed74ac211b7cb35c58ad3f3
tree725fb79c42f3b1b822c3f95096ce1b87c12853e4
parent283f34f09d4eb0553d6326f0499d2a904e059d42
Fix IUP for contours which start past end

Found with Droid Sans Mono hinted with ttfautohint 1.8.4.

* src/sfnt.c (IUP_SINGLE_PAIR): If i is initially more than end,
make it start.
(sfnt_verbose): Handle cases where interpreter->glyph_zone is
NULL.
(main): Update tests.
src/sfnt.c