aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Hancock <phancock@apache.org>2011-09-05 07:55:05 +0000
committerPeter Hancock <phancock@apache.org>2011-09-05 07:55:05 +0000
commit2b875243aca4c436a611bdc974f3eaf6c6800bb8 (patch)
tree558d155885b2618575cd939789cd66f987aff979 /src
parent355eb32c4afbdae66bf0e26c46ca19e4581ef94a (diff)
downloadxmlgraphics-fop-2b875243aca4c436a611bdc974f3eaf6c6800bb8.tar.gz
xmlgraphics-fop-2b875243aca4c436a611bdc974f3eaf6c6800bb8.zip
Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.
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
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/afp/fonts/AFPBase12FontCollection.java8
1 files changed, 4 insertions, 4 deletions
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);