class HexaPDF::Font::CMap::Writer

Parent

Creates a CMap file.

Currently only ToUnicode CMaps are supported.

Constants

MAX_ENTRIES_IN_SECTION

Maximum number of entries in one section.

Public Instance Methods

create_to_unicode_cmap(mapping)

Returns a ToUnicode CMap for the given input code to Unicode codepoint mapping which needs to be sorted by input codes.

Note that the returned CMap always uses a 16-bit input code space!