locked
low level true type font access RRS feed

  • Question

  • Hello, I need some help with reading true type font directly from a ttf file. i can read fonts with platform ID = 3(Windows) And encodingID = 1, but i have problems with reading symbolic fonts(for example wingdings).

    I am using this documentation: http://www.microsoft.com/typography/otspec/otff.htm

    The problem is I can't find correct way to map char code to glyph index. cmap subtable contains some strange ranges:

    startCount: (61472, 61568, 65535)

    endCount: (61566, 61695, 65535)

    idRangeOffset: (6, 194, 0)

    and glyphIDArray is long but contains some ordinary looking numbers.

    Please, help me.

    Saturday, October 23, 2010 6:33 AM

Answers