diff options
Diffstat (limited to 'platform/java/src/com')
-rw-r--r-- | platform/java/src/com/artifex/mupdf/fitz/Font.java | 4 | ||||
-rw-r--r-- | platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/Font.java b/platform/java/src/com/artifex/mupdf/fitz/Font.java index 2910d543..f6ac2ce7 100644 --- a/platform/java/src/com/artifex/mupdf/fitz/Font.java +++ b/platform/java/src/com/artifex/mupdf/fitz/Font.java @@ -6,6 +6,10 @@ public class Font Context.init(); } + public static final int LATIN = 0; + public static final int GREEK = 1; + public static final int CYRILLIC = 2; + public static final int CN = 0; public static final int TW = 1; public static final int JP = 2; diff --git a/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java b/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java index b650df52..211b6ab1 100644 --- a/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java +++ b/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java @@ -96,7 +96,7 @@ public class PDFDocument extends Document public native void insertPage(int at, PDFObject page); public native void deletePage(int at); public native PDFObject addImage(Image image); - public native PDFObject addSimpleFont(Font font); + public native PDFObject addSimpleFont(Font font, int encoding); public native PDFObject addCJKFont(Font font, int ordering); public native PDFObject addFont(Font font); public native boolean hasUnsavedChanges(); |