commit | 569ec4ee2a50e6fb01046f2861180ae2d11c9ad4 | [log] [tgz] |
---|---|---|
author | Wu, Chia-I (吳佳一) <olvaffe@gmail.com> | Tue Nov 29 11:27:51 2005 +0000 |
committer | Wu, Chia-I (吳佳一) <olvaffe@gmail.com> | Tue Nov 29 11:27:51 2005 +0000 |
tree | ac70aff96818d7548255a4a326cb3ee424f26951 | |
parent | df1598e31677af21c42532b766f2a21131b09624 [diff] |
* src/sfnt/ttcmap.c (struct TT_CMap12Rec_, tt_cmap12_init, tt_cmap12_next): New struct/function for fast "next char". (tt_cmap12_char_map_binary): New function to do "charcode => glyph index" by binary search. (tt_cmap12_char_index, tt_cmap12_char_next): Use tt_cmap12_char_map_binary. (tt_face_build_cmaps): Check table and offset correctly (equality is missing).