aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-14 14:59:56 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-14 14:59:56 +0000
commitdbb70a6873319ab9948777513b8149e7a1262364 (patch)
treecc3340d21d7d14207af27ff36569188e1a033bac /src/java/org/apache/fop/pdf
parent1041ea8c48bebd72fe8544906fbff40f43ca70e0 (diff)
downloadxmlgraphics-fop-dbb70a6873319ab9948777513b8149e7a1262364.tar.gz
xmlgraphics-fop-dbb70a6873319ab9948777513b8149e7a1262364.zip
move fonts.Font to fonts.Typeface (in preparation for moving layout.FontState to fonts.Font)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196799 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r--src/java/org/apache/fop/pdf/PDFFactory.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFFactory.java b/src/java/org/apache/fop/pdf/PDFFactory.java
index cab819d76..45791a549 100644
--- a/src/java/org/apache/fop/pdf/PDFFactory.java
+++ b/src/java/org/apache/fop/pdf/PDFFactory.java
@@ -64,7 +64,7 @@ import org.apache.commons.io.IOUtil;
// FOP
import org.apache.fop.fonts.CIDFont;
import org.apache.fop.fonts.CustomFont;
-import org.apache.fop.fonts.Font;
+import org.apache.fop.fonts.Typeface;
import org.apache.fop.fonts.FontDescriptor;
import org.apache.fop.fonts.FontMetrics;
import org.apache.fop.fonts.FontType;
@@ -1102,11 +1102,11 @@ public class PDFFactory {
+ desc.getFontType());
}
- Font tempFont;
+ Typeface tempFont;
if (desc instanceof LazyFont) {
tempFont = ((LazyFont)desc).getRealFont();
} else {
- tempFont = (Font)desc;
+ tempFont = (Typeface)desc;
}
if (!(tempFont instanceof CustomFont)) {
throw new IllegalArgumentException(