class HexaPDF::Font::InvalidGlyph

Parent

Represents an invalid glyph, i.e. a Unicode character that has no representation in the used font.

Attributes

str[R]

The string that could not be represented as a glyph.

Public Class Methods

new(font, str)

Creates a new Glyph object.

Public Instance Methods

apply_word_spacing?()

Word spacing is never applied for the invalid glyph, so false is returned.

id()

Returns the appropriate missing glyph id based on the used font.

Also aliased as: name
name()
Alias for: id
width()
Alias for: x_min
x_max()
Alias for: x_min
x_min()

Returns 0.

Also aliased as: x_max, y_min, y_max, width
y_max()
Alias for: x_min
y_min()
Alias for: x_min