Re: What is a Chinese font?

From: Bob_Hallissy@sil.org
Date: Wed Feb 27 2008 - 06:20:04 CST

  • Next message: mpsuzuki@hiroshima-u.ac.jp: "Re: What is a Chinese font?"

    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).

    You could also use the OS/2 range bit calculation workbook (an Excel
    spreadsheet) from http://scripts.sil.org/OS2RangeBitWorksheet to calculate
    the correct UnicodeRange and CodepageRange values for your OS/2 table.

    Bob



    This archive was generated by hypermail 2.1.5 : Wed Feb 27 2008 - 06:23:19 CST