[metapost] How can i edit the true type font tables?

Werner LEMBERG wl at gnu.org
Tue Sep 18 10:05:53 CEST 2012


> Now i want to edit the tables in the ttf file.  But i don't know how
> to edit the tables.

I suggest that you convert your glyphs with a tool like mf2pt1 to a
Type 1 font.  Using the scripting interface of FontForge, you can then

  (1) clean up the glyph shapes (e.g. removing redundant points,
      adding points at extrema, etc.)
  (2) easily add the necessary SFNT tables (including the OpenType
      stuff necessary for Indic scripts)

People here on the metapost list are probably not able to further help
you.  As an example of the MF->mf2pt1->fontforge->OTF working flow,
have a look how LilyPond handles this.

    Werner


More information about the metapost mailing list