diff options
author | Glen Mazza <gmazza@apache.org> | 2004-04-22 21:38:41 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-04-22 21:38:41 +0000 |
commit | 5f10d185607e02344e132f258cad975e0e0b2d06 (patch) | |
tree | 747d7ce01542f00167bc3e8cd0117b9a2358b24e /src/java/org/apache/fop/pdf | |
parent | 480a7d7c4949203e119c2b07f53ef333cbba2f69 (diff) | |
download | xmlgraphics-fop-5f10d185607e02344e132f258cad975e0e0b2d06.tar.gz xmlgraphics-fop-5f10d185607e02344e132f258cad975e0e0b2d06.zip |
PR:
Obtained from:
Submitted by:
Reviewed by:
Patch #28525 applied -- new FontInfo class.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197531 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFFactory.java | 1 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFResources.java | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFFactory.java b/src/java/org/apache/fop/pdf/PDFFactory.java index 80833b164..93066498b 100644 --- a/src/java/org/apache/fop/pdf/PDFFactory.java +++ b/src/java/org/apache/fop/pdf/PDFFactory.java @@ -26,7 +26,6 @@ import java.util.List; import java.util.Map; // Apache libs -import org.apache.avalon.framework.container.ContainerUtil; import org.apache.commons.io.IOUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; diff --git a/src/java/org/apache/fop/pdf/PDFResources.java b/src/java/org/apache/fop/pdf/PDFResources.java index e9c73f9e3..0945634dd 100644 --- a/src/java/org/apache/fop/pdf/PDFResources.java +++ b/src/java/org/apache/fop/pdf/PDFResources.java @@ -18,7 +18,7 @@ package org.apache.fop.pdf; -import org.apache.fop.apps.Document; +import org.apache.fop.fonts.FontInfo; import org.apache.fop.fonts.Typeface; import org.apache.fop.fonts.FontDescriptor; @@ -88,7 +88,7 @@ public class PDFResources extends PDFObject { * @param doc PDF document to add fonts to * @param fontInfo font info object to get font information from */ - public void addFonts(PDFDocument doc, Document fontInfo) { + public void addFonts(PDFDocument doc, FontInfo fontInfo) { Map fonts = fontInfo.getUsedFonts(); Iterator e = fonts.keySet().iterator(); while (e.hasNext()) { |