]> git.eshelyaron.com Git - emacs.git/commit
Correctly bisect format 12 and 8 cmap tables
authorPo Lu <luangruo@yahoo.com>
Wed, 18 Oct 2023 05:52:19 +0000 (13:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 18 Oct 2023 05:52:19 +0000 (13:52 +0800)
commit06fc5c24170b820939d3d51071b2957354edcb65
tree7e9f0681cb9fbb06d7e98bd14de5074871381e5f
parent516b490bb4fbc1828a50fd81e397f3feb614d0ad
Correctly bisect format 12 and 8 cmap tables

* src/sfnt.c (sfnt_bsearch_above): Cease returning the last
element if it is ordered below the key itself.
(sfnt_lookup_glyph_8, sfnt_lookup_glyph_12): Verify whether the
group returned is NULL.
src/sfnt.c