class HexaPDF::Font::TrueType::Table::Kern::Subtable

Parent

A kerning subtable containing the actual information to do kerning.

Public Class Methods

new(pairs:, horizontal:, minimum_values:, cross_stream:)

Creates a new subtable.

Public Instance Methods

cross_stream?()

Returns true if this subtable contains cross-stream values, i.e. values that are applied perpendicular to the writing direction.

horizontal?()

Returns true if this subtable is used for horizontal kerning.

kern(left, right)

Returns the kerning value between the two glyphs, or nil if there is no kerning value.

minimum_values?()

Returns true if this subtable contains minimum values and not kerning values.