diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-09-05 12:22:10 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-09-05 12:52:06 +0200 |
commit | f825e989dc7e7e339ca525b52ea46d6ffacbacdf (patch) | |
tree | a95d0a71fce70c27718f947787d88d1407d3dd96 | |
parent | 893675249d9e3e20f198e8c25783b04c823dec39 (diff) | |
download | mupdf-f825e989dc7e7e339ca525b52ea46d6ffacbacdf.tar.xz |
mutool run: Document addSimpleFont and addCJKFont functions.
-rw-r--r-- | docs/manual-mutool-run.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/manual-mutool-run.html b/docs/manual-mutool-run.html index 310c69cc..1cae82df 100644 --- a/docs/manual-mutool-run.html +++ b/docs/manual-mutool-run.html @@ -753,8 +753,15 @@ Pages consist of a content stream, and a resource dictionary containing all of t <dl> <dt>PDFDocument#addPage(mediabox, rotate, resources, contents) <dd>Create a new page object. Note: this function does NOT add it to the page tree. -<dt>PDFDocument#addSimpleFont(font) -<dd>Create a PDF object from the Font object as a WinAnsiEncoding encoded simple font. +<dt>PDFDocument#addSimpleFont(font, encoding) +<dd>Create a PDF object from the Font object as a simple font. +Encoding is either "Latin" (CP-1252), "Greek" (ISO-8859-7), or "Cyrillic" (KOI-8U). +The default is "Latin". +<dt>PDFDocument#addCJKFont(font, language, wmode, style) +<dd>Create a PDF object from the Font object as a UTF-16 encoded CID font for the given +language ("TC", "SC", "KR", or "JP"), +writing mode ("H" or "V"), +and style ("serif" or "sans-serif"). <dt>PDFDocument#addFont(font) <dd>Create a PDF object from the Font object as an Identity-H encoded CID font. <dt>PDFDocument#addImage(image) |