From: mpsuzuki@hiroshima-u.ac.jp
Date: Wed Feb 27 2008 - 11:20:26 CST
Hi Bob,
On Wed, 27 Feb 2008 12:20:04 +0000
Bob_Hallissy@sil.org wrote:
>Andrew wrote on 02/27/2008 10:22:31 AM:
>
>> On 27/02/2008, vunzndi@vfemail.net <vunzndi@vfemail.net> wrote:
>> >
>> > correction - for some reason the binary editor modified versions fail.
>> > Though the same settings when adjusted in fontforge work.
>>
>> All OT font tables have a checksum (see
>> <http://www.microsoft.com/typography/otspec/otff.htm>), so if you
>> modify the the contents of a table using a binary editor but do not
>> recalculate the checksum this may explain why it fails.
>
>Rather than use a binary editor, you could use hackOS2 command from the
>command-line font hacking utilities available at
>http://scripts.sil.org/FontUtils. These utilities recalculate font
>checksums properly. And hackOS/2 touches ONLY the OS/2 table (well, and
>the font directory and head table where checksums are stored).
I agree the checksum in head table is difficult for mental
arithmetic - I ignored it and caused strange errors, I must
apologize. Your Perl scripts preserve the contents in the
unknown tables and in "gap" area that is not a part of tables
listed in TTF directory?
Regards,
mpsuzuki
This archive was generated by hypermail 2.1.5 : Wed Feb 27 2008 - 11:25:39 CST