From 2b875243aca4c436a611bdc974f3eaf6c6800bb8 Mon Sep 17 00:00:00 2001 From: Peter Hancock Date: Mon, 5 Sep 2011 07:55:05 +0000 Subject: Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection. Submitted by: Mehdi Houshmand git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1165195 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/afp/fonts/AFPBase12FontCollection.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/java/org/apache/fop/afp/fonts/AFPBase12FontCollection.java b/src/java/org/apache/fop/afp/fonts/AFPBase12FontCollection.java index 417250df1..421945119 100644 --- a/src/java/org/apache/fop/afp/fonts/AFPBase12FontCollection.java +++ b/src/java/org/apache/fop/afp/fonts/AFPBase12FontCollection.java @@ -108,22 +108,22 @@ public class AFPBase12FontCollection implements FontCollection { "Times New Roman", "TimesNewRoman", "serif", "any"}; font = createReferencedRasterFont("Times Roman"); - addCharacterSet(font, "CON200", new TimesRoman()); + addCharacterSet(font, "C0N200", new TimesRoman()); num = addFontProperties(fontInfo, font, timesNames, Font.STYLE_NORMAL, Font.WEIGHT_NORMAL, num); font = createReferencedRasterFont("Times Roman Italic"); - addCharacterSet(font, "CON300", new TimesItalic()); + addCharacterSet(font, "C0N300", new TimesItalic()); num = addFontProperties(fontInfo, font, timesNames, Font.STYLE_ITALIC, Font.WEIGHT_NORMAL, num); font = createReferencedRasterFont("Times Roman Bold"); - addCharacterSet(font, "CON400", new TimesBold()); + addCharacterSet(font, "C0N400", new TimesBold()); num = addFontProperties(fontInfo, font, timesNames, Font.STYLE_NORMAL, Font.WEIGHT_BOLD, num); font = createReferencedRasterFont("Times Roman Italic Bold"); - addCharacterSet(font, "CON500", new TimesBoldItalic()); + addCharacterSet(font, "C0N500", new TimesBoldItalic()); num = addFontProperties(fontInfo, font, timesNames, Font.STYLE_ITALIC, Font.WEIGHT_BOLD, num); -- cgit v1.2.3