diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-11-12 16:40:24 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-11-12 16:40:24 +0000 |
commit | 3c09dd0bd232edd1c8a988dac28f2d9f6124a009 (patch) | |
tree | bf08a84c715806cfd7441da2344674487fd5ca73 /src/java/org/apache | |
parent | 9c8674811a32010d6b5c6d843dd27b6cd4991af6 (diff) | |
download | xmlgraphics-fop-3c09dd0bd232edd1c8a988dac28f2d9f6124a009.tar.gz xmlgraphics-fop-3c09dd0bd232edd1c8a988dac28f2d9f6124a009.zip |
Improve compatibility with Apache Harmony:
UnicodeBig does the same as UTF-16BE on read (marker is optional, defaults to big endian).
"UnicodeBig" does not seem to be available in Harmony, yet.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@473986 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/fonts/truetype/FontFileReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fonts/truetype/FontFileReader.java b/src/java/org/apache/fop/fonts/truetype/FontFileReader.java index 930504752..4f906a006 100644 --- a/src/java/org/apache/fop/fonts/truetype/FontFileReader.java +++ b/src/java/org/apache/fop/fonts/truetype/FontFileReader.java @@ -306,7 +306,7 @@ public class FontFileReader { current += len; final String encoding; if ((tmp.length > 0) && (tmp[0] == 0)) { - encoding = "UnicodeBig"; + encoding = "UTF-16BE"; } else { encoding = "ISO-8859-1"; } |