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)
committerPo Lu <luangruo@yahoo.com>
Tue, 20 Aug 2024 13:56:41 +0000 (21:56 +0800)
commit3419e7ea522462c47a5ab4389a879d8b7c14452b
tree12efb8b0b216122923742ade8725a1ff0a8d7c64
parent45ae4de0e7ce99c88c62f940f605bca693b8e33f
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.
src/sfnt.c