Open Type CFF generation and kerning

Ramiro Espinoza's picture

Hi there,

I am generating an Open Type (CFF) font and I don't know if I should check the option in Prefereces > Generating Open Type and TrueType > Kerning: "Export 'kern' table

Is it OK in an OT font to generate the flat kerning table together with the class-based kerning or only one of them should be chosen?

Thanks in advance.

Ramiro.

John Hudson's picture

In a CFF OT font, you should not generate a flat kern table.

In a TTF, this is possible, although you may run unto difficulties in some applications (not a well-documented area, I'm afraid).

Note, however, that technically a kern table is only supposed to include kerning for encoded glyphs, i.e. not for unencoded variants such as ligatures or stylistic alternates. This is one of the reasons that the kern table should be superseded by GPOS kerning.

Note also that there is a practical size limit to the kern table, beyond which pairs will be ignored.

Syndicate content Syndicate content