From b0c052026708489451cc1078f0494b4582d41586 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 10 Feb 2010 15:37:04 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/fonts/type1/Type1FontLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5