]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Improve compatibility with Apache Harmony:
authorJeremias Maerki <jeremias@apache.org>
Sun, 12 Nov 2006 16:40:24 +0000 (16:40 +0000)
committerJeremias Maerki <jeremias@apache.org>
Sun, 12 Nov 2006 16:40:24 +0000 (16:40 +0000)
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

src/java/org/apache/fop/fonts/truetype/FontFileReader.java

index 930504752424eb95362fa09cc6a7f37cbc3ec679..4f906a0060cb0757afdbbf59a853c41e8eced3bf 100644 (file)
@@ -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";
         }