]> git.eshelyaron.com Git - emacs.git/commit
Fix compatibility problems with several fonts
authorPo Lu <luangruo@yahoo.com>
Wed, 23 Aug 2023 01:08:03 +0000 (09:08 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 23 Aug 2023 01:15:16 +0000 (09:15 +0800)
commitd2e8985b8057173f56d081467ce6a69fc85b1dc5
treecf07ef5c9f0c06fdc7d754079396f12b356298dd
parent255b7e1a046cbf9a745d58080d74983bfe205859
Fix compatibility problems with several fonts

* src/sfnt.c (sfnt_lookup_glyph_8): Perform binary search
instead of combing through each group if the table is large.
(sfnt_read_simple_glyph): Avoid losing if the last byte of a
vector is identical to the last byte of the glyph data.
(sfnt_read_gvar_table): Don't overwrite gvar table data while
reading shared coordinates.
src/sfnt.c