From: Peter Hancock Date: Mon, 5 Sep 2011 07:55:05 +0000 (+0000) Subject: Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection. X-Git-Tag: fop-1_1rc1old~181 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2b875243aca4c436a611bdc974f3eaf6c6800bb8;p=xmlgraphics-fop.git 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 --- 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); diff --git a/status.xml b/status.xml index e077cdd52..a80dcd2b2 100644 --- a/status.xml +++ b/status.xml @@ -60,6 +60,8 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> + + Corrected typographical errors in AFPBase12FontCollection. Improved fix of a bug relating to PCL painter thread safetly. Previous fix in rev 895012 worked by synchronizing methods of a static instance of Java2DFontMetrics. This fix uses a