From: Jeremias Maerki Date: Wed, 10 Feb 2010 15:37:04 +0000 (+0000) Subject: Bugzilla #48512: X-Git-Tag: fop-1_0~66 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b0c052026708489451cc1078f0494b4582d41586;p=xmlgraphics-fop.git Bugzilla #48512: 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 --- diff --git a/src/java/org/apache/fop/fonts/type1/Type1FontLoader.java b/src/java/org/apache/fop/fonts/type1/Type1FontLoader.java index 4979ba2bb..4d068f1df 100644 --- a/src/java/org/apache/fop/fonts/type1/Type1FontLoader.java +++ b/src/java/org/apache/fop/fonts/type1/Type1FontLoader.java @@ -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;