From f825e989dc7e7e339ca525b52ea46d6ffacbacdf Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 5 Sep 2018 12:22:10 +0200 Subject: mutool run: Document addSimpleFont and addCJKFont functions. --- docs/manual-mutool-run.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'docs') 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
PDFDocument#addPage(mediabox, rotate, resources, contents)
Create a new page object. Note: this function does NOT add it to the page tree. -
PDFDocument#addSimpleFont(font) -
Create a PDF object from the Font object as a WinAnsiEncoding encoded simple font. +
PDFDocument#addSimpleFont(font, encoding) +
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". +
PDFDocument#addCJKFont(font, language, wmode, style) +
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").
PDFDocument#addFont(font)
Create a PDF object from the Font object as an Identity-H encoded CID font.
PDFDocument#addImage(image) -- cgit v1.2.3