Expand description
CID-keyed font support for Unicode (Japanese/CJK) text in PDF
This module implements Type 0 composite fonts with CIDFont descendants, which are required for proper Unicode text rendering in PDF.
Functionsยง
- encode_
text_ utf16be - Encode text as UTF-16BE for use with CID-keyed fonts
- generate_
cidfont_ dict - Generate a CIDFont dictionary (descendant of Type 0 font)
- generate_
cidfont_ tounicode_ cmap - Generate ToUnicode CMap for CID-keyed fonts
- generate_
cidtogidmap_ stream - Generate CIDToGIDMap stream for mapping CIDs to actual glyph IDs
- generate_
type0_ font_ dict - Generate a Type 0 composite font dictionary for Unicode text