]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.
authorPeter Hancock <phancock@apache.org>
Mon, 5 Sep 2011 07:55:05 +0000 (07:55 +0000)
committerPeter Hancock <phancock@apache.org>
Mon, 5 Sep 2011 07:55:05 +0000 (07:55 +0000)
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>

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
status.xml

index 417250df1b53c9fcccda4104ea0ce3dd5a7a0b8a..421945119792de95ee519dc87c9f77dbc4ddf636 100644 (file)
@@ -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);
 
index e077cdd52e89fe473119f58d861878602360eb1b..a80dcd2b219dc9150f133dbe41f71e2bebdceec0 100644 (file)
@@ -60,6 +60,8 @@
       documents. Example: the fix of marks layering will be such a case when it's done.
     -->
     <release version="FOP Trunk" date="TBD">
+      <action context="Fonts" dev="PH" type="fix" fixes-bug="51205" due-to="Mehdi Houshmand">
+        Corrected typographical errors in AFPBase12FontCollection.</action>
       <action context="Renderers" dev="PH" type="fix" fixes-bug="48062">
         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