Class Kern

  • public final class Kern
    extends Table
    Gives access to the 'kern' table.

    Version handling

    Versioning of 'kern' table is a bit complicated because OpenType defines a format with a minor version number only, and Apple TrueType defines a format with a major/minor version number. This implementation:

    • fully supports 0 OpenType tables,
    • fully supports 1.0 Apple TrueType tables,
    • interprets 1.x tables as 1.0 tables,
    • rejects other versions with an UnsupportedFontException at construction time.


    Like all tables, these objects are immutable.