summaryrefslogtreecommitdiff
path: root/platform/java/src
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-09-05 15:27:22 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-09-21 14:21:05 +0200
commit48b026e7500c5f7239e173d14d09b9e2e272e874 (patch)
treed6231e9b0c39d7a6eb361eff3762855ea05102d8 /platform/java/src
parent60103f2af83eb04c1e74b32fa9d29c74bf01c118 (diff)
downloadmupdf-48b026e7500c5f7239e173d14d09b9e2e272e874.tar.xz
Regularize language and script names.
Drop the unused 'serif' argument to the CJK lookup functions. Use the BCP 47 names for CJK scripts and languages: zh-Hant for traditional Chinese, zh-Hans for simplified Chinese, ja for Japanese, ko for Korean. The lookup function also allows commonly used language+country codes: zh-TW and zh-HK for traditional Chinese, zh-CN for simplified Chinese.
Diffstat (limited to 'platform/java/src')
-rw-r--r--platform/java/src/com/artifex/mupdf/fitz/Font.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/Font.java b/platform/java/src/com/artifex/mupdf/fitz/Font.java
index f6ac2ce7..f56a0a48 100644
--- a/platform/java/src/com/artifex/mupdf/fitz/Font.java
+++ b/platform/java/src/com/artifex/mupdf/fitz/Font.java
@@ -10,10 +10,10 @@ public class Font
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;
- public static final int KR = 3;
+ public static final int ADOBE_CNS = 0;
+ public static final int ADOBE_GB = 1;
+ public static final int ADOBE_JAPAN = 2;
+ public static final int ADOBE_KOREA = 3;
private long pointer;