]> git.eshelyaron.com Git - emacs.git/commit
Optimize format 12 cmap table lookup
authorPo Lu <luangruo@yahoo.com>
Tue, 22 Aug 2023 08:44:53 +0000 (16:44 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 22 Aug 2023 08:45:35 +0000 (16:45 +0800)
commit7af94bacd7a1be6417390ce9523f0e2524deb8e0
tree0a50e8e17821a411413f7b8e9601231b01d271e5
parentcc0f546825e0db9ff78f82c62615686aa480a133
Optimize format 12 cmap table lookup

* src/sfnt.c (sfnt_compare_char): New function.
(sfnt_lookup_glyph_12): Detect ``large'' cmap tables of format
12 and perform a binary search.  Such tables are frequently
provided by CJK fonts.
src/sfnt.c