commit | 6f1eca046074c024a8c9235caa887b9cbadde5c1 | [log] [tgz] |
---|---|---|
author | Wu, Chia-I (吳佳一) <olvaffe@gmail.com> | Sun Nov 20 08:24:24 2005 +0000 |
committer | Wu, Chia-I (吳佳一) <olvaffe@gmail.com> | Sun Nov 20 08:24:24 2005 +0000 |
tree | bb998b89c61585fb99a9daef374c59a6326c295b | |
parent | 6c99045972db747535dcd8e4d86afe6e6ce8c7d8 [diff] |
* src/sfnt/ttload.c (sfnt_dir_check): Clean up and return correct error code. (sfnt_init): New function to fill in face->ttc_header. A non-TTC font is synthesized into a TTC font with one offset table. (tt_face_load_sfnt_header): Use sfnt_init. Fix an invalid access when the font is TTC and face_index is -1.