From dbb70a6873319ab9948777513b8149e7a1262364 Mon Sep 17 00:00:00 2001 From: William Victor Mote Date: Thu, 14 Aug 2003 14:59:56 +0000 Subject: 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 --- src/java/org/apache/fop/svg/PDFGraphics2D.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/org/apache/fop/svg') diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java index 94329d619..7a7bcf364 100644 --- a/src/java/org/apache/fop/svg/PDFGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java @@ -1259,8 +1259,8 @@ public class PDFGraphics2D extends AbstractGraphics2D { // This assumes that *all* CIDFonts use a /ToUnicode mapping boolean useMultiByte = false; - org.apache.fop.fonts.Font f = - (org.apache.fop.fonts.Font)fontInfo.getFonts().get(name); + org.apache.fop.fonts.Typeface f = + (org.apache.fop.fonts.Typeface)fontInfo.getFonts().get(name); if (f instanceof LazyFont) { if (((LazyFont) f).getRealFont() instanceof CIDFont) { useMultiByte = true; -- cgit v1.2.3