NAME

PDF::Builder::Resource::CIDFont::CJKFont - Base class for CJK fonts

Inherits from PDF::Builder::Resource::CIDFont

Note: CJK font support is somewhat obsolete. Try directly using an up-to-date TTF or OTF font, with UTF-8 input, instead.

METHODS

new

    $font = PDF::Builder::Resource::CIDFont::CJKFont->new($pdf, $cjkname, %opts)

Returns a cjk-font object.

Defined Options (%opts):

encode

specify fonts encoding for non-utf8 text.

glyphByCId

    $n = $font->glyphByCId($gid)

Returns a character's glyph name (string), given its glyph ID.

NAVIGATION LINKS

Up (Parents)

Master Index
PDF::Builder -- Facilitates the creation and modification of PDF files
PDF::Builder::Resource -- Base class for PDF resources
PDF::Builder::Resource::CIDFont -- Base class for CID fonts

Siblings

PDF::Builder::Resource::CIDFont::TrueType -- TrueType (ttfont) font support

###