commit | 58cb3593358d50d05bb4025f7df378cb2587c015 | [log] [tgz] |
---|---|---|
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | Sun May 01 00:47:43 2011 +0900 |
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | Sun May 01 00:47:43 2011 +0900 |
tree | 2cf70f2f4f7cef4ef84108ef7909f55dd1345bbb | |
parent | 1e89d15a2708f98cacb95ec8a0f1386adf062a64 [diff] |
[truetype] Recalculate the sfnt table checksum always. * src/truetype/ttobjs.c (tt_get_sfnt_checksum): Recalculate the sfnt table checksum even if non-zero value is writte in the TrueType font header. Some bad PDF generators write wrong values. For detail, see examples and benchmark tests of the latency by recalculation: http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00091.html http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00096.html