]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #48512:
authorJeremias Maerki <jeremias@apache.org>
Wed, 10 Feb 2010 15:37:04 +0000 (15:37 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 10 Feb 2010 15:37:04 +0000 (15:37 +0000)
Bugfix: Don't map AdobeStandardEncoding to StandardEncoding. They are not the same. Fixes problem with invalid character widths on PostScript output and missing umlauts.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@908543 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fonts/type1/Type1FontLoader.java

index 4979ba2bb6a842aea6126a6c001e1bef4ae5ca85..4d068f1dff3c29fe0b2145c119cbe38210925b8a 100644 (file)
@@ -141,7 +141,7 @@ public class Type1FontLoader extends FontLoader {
         if (afm != null) {
             String encoding = afm.getEncodingScheme();
             singleFont.setUseNativeEncoding(true);
-            if ("AdobeStandardEncoding".equals(encoding)) {
+            if ("StandardEncoding".equals(encoding)) {
                 singleFont.setEncoding(CodePointMapping.STANDARD_ENCODING);
             } else {
                 String effEncodingName;