class

Hpdf::Encoder

Inherits Hpdf::Helper / Reference / Object

Constructors

new(name : String, encoder : LibHaru::Encoder, doc : Doc)
Source

Instance methods

byte_type(text : String | Bytes, idx : Number) : ByteType

returns the type of byte in the text at position index.

Source
name

name of the encoding, one of Encodings

Source
to_unsafe
Source
type

gets the type of an encoding object.

Source
unicode(code : UInt16) : Char

converts a specified character code to unicode.

Source
writing_mode

returns the writing mode for the encoding object.

Source