commit | b3e1954d167f485099c71f5060520aabb00519c6 | [log] [tgz] |
---|---|---|
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | Mon Sep 20 01:22:34 2010 +0900 |
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | Mon Sep 20 01:24:44 2010 +0900 |
tree | 01a15c4cc96dbb638688bbc721a421785376b284 | |
parent | 643d49df0919b56c6603ab9310839899b77aad8a [diff] |
[cff] Correct `max_cid' from CID array length to max CID. See Savannah bug #30975. * src/cff/cffload.c (cff_charset_compute_cids): Don't increment max_cid after detecting max CID. The array CFF_Charset->cids is allocated by max_cid + 1. (cff_charset_cid_to_gindex): Permit CID is less than or equal to CFF_Charset->max_cid. * src/cff/cffobjs.c (cff_face_init): FT_Face->num_glyphs is calculated as CFF_Charset->max_cid + 1.