commit | c1b21f47b407bf5ef6ad9b346203bbd907c9f2b9 | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Fri Sep 21 02:14:46 2018 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Fri Sep 21 02:14:46 2018 |
tree | 0b34c437d7c468cd9eed3b4c8a50d1ad43045f0d | |
parent | 8e950680538b11cf3c4eb630f0b8e7bd400b6dcd [diff] |
[pcf] Replace charmap implementation. PCF comes with charmap lookup table, aka PCF encodings. Using it directly makes FT_Get_Char_Index and FT_Get_Next_Char 4-5 times faster than the original BDF-like binary searches. * src/pcf/pcf.h (PCF_EncodingRec): Removed. (PCF_FaceRec): Remove `nencodings' and `encodings'. * src/pcf/pcfdrivr.c (pcf_cmap_char_{index,next}): Replaced. * src/pcf/pcfread.c (pcf_get_encodings): Store data differently.