]> git.eshelyaron.com Git - emacs.git/commit
Correct Android failure to open an old CJK font
authorPo Lu <luangruo@yahoo.com>
Tue, 20 Aug 2024 13:56:41 +0000 (21:56 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 20 Aug 2024 14:13:13 +0000 (16:13 +0200)
commit4c2d25407add6906d7bc95f8dd0f46f4fcd0cfc6
tree979ee6d0948624524c30461b8f312a72c11094bd
parentd17b30812ef8271ff0c5724741526ba26856a70b
Correct Android failure to open an old CJK font

* src/sfnt.c (sfnt_read_cmap_format_2): Properly compute
subtable count, and append the empty table at position 0.
(sfnt_lookup_glyph_2): Update commentary.

(cherry picked from commit 3419e7ea522462c47a5ab4389a879d8b7c14452b)
src/sfnt.c