class HexaPDF::Font::Type1Wrapper::Glyph

Parent

Represents a single glyph of the wrapped font.

Attributes

font_wrapper[R]

The associated Type1Wrapper object.

id[R]

The name of the glyph.

name[R]

The name of the glyph.

str[R]

The string representation of the glyph.

Public Class Methods

new(font_wrapper, name, str)

Creates a new Glyph object.

Public Instance Methods

apply_word_spacing?()

Returns true if the word spacing parameter needs to be applied for the glyph.

valid?()

Returns true since this is a valid glyph.

width()

Returns the width of the glyph.

x_max()

Returns the glyph’s maximum x coordinate.

x_min()

Returns the glyph’s minimum x coordinate.

y_max()

Returns the glyph’s maximum y coordinate.

y_min()

Returns the glyph’s minimum y coordinate.