CID fonts are a multi-byte character font format developed by Adobe. Two simplified Chinese fonts, one traditional Chinese fonts, four Japanese fonts, and four Korean fonts are available in Polybios. Hollywood scripts have to invoke the following functions once before using CID fonts:
doc:UseCNSFonts()
doc:UseCNTFonts()
doc:UseJPFonts()
doc:UseKRFonts()
Here is an example:
doc:UseJPFonts() doc:UseJPEncodings() hfont = doc:GetFont("MS-Mincyo", "90ms-RKSJ-H") page:SetFontAndSize(hfont, 10.5) |