aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pdf/PDFRenderer.java
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-14 15:31:10 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-14 15:31:10 +0000
commita9a3ea149314c75ee52f5f2f0f58c8146592736a (patch)
treec944187b2e2e87956d8db7640997727fc4543559 /src/java/org/apache/fop/render/pdf/PDFRenderer.java
parentdbb70a6873319ab9948777513b8149e7a1262364 (diff)
downloadxmlgraphics-fop-a9a3ea149314c75ee52f5f2f0f58c8146592736a.tar.gz
xmlgraphics-fop-a9a3ea149314c75ee52f5f2f0f58c8146592736a.zip
move layout.FontState to fonts.Font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pdf/PDFRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFRenderer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java
index 8b469f6e2..be653326b 100644
--- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java
+++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java
@@ -114,7 +114,7 @@ import org.apache.fop.area.inline.ForeignObject;
import org.apache.fop.area.inline.Image;
import org.apache.fop.area.inline.Leader;
import org.apache.fop.area.inline.InlineParent;
-import org.apache.fop.layout.FontState;
+import org.apache.fop.fonts.Font;
import org.apache.fop.traits.BorderProps;
import org.apache.fop.datatypes.ColorType;
@@ -920,7 +920,7 @@ public class PDFRenderer extends PrintRenderer {
String s = word.getWord();
FontMetrics metrics = fontInfo.getMetricsFor(name);
- FontState fs = new FontState(name, metrics, size);
+ Font fs = new Font(name, metrics, size);
escapeText(s, fs, useMultiByte, pdf);
pdf.append(endText);
@@ -936,7 +936,7 @@ public class PDFRenderer extends PrintRenderer {
* @param useMultiByte Indicates the use of multi byte convention
* @param pdf target buffer for the escaped text
*/
- public void escapeText(String s, FontState fs,
+ public void escapeText(String s, Font fs,
boolean useMultiByte, StringBuffer pdf) {
String startText = useMultiByte ? "<" : "(";
String endText = useMultiByte ? "> " : ") ";