diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-14 15:31:10 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-14 15:31:10 +0000 |
commit | a9a3ea149314c75ee52f5f2f0f58c8146592736a (patch) | |
tree | c944187b2e2e87956d8db7640997727fc4543559 /src/java/org/apache/fop/util | |
parent | dbb70a6873319ab9948777513b8149e7a1262364 (diff) | |
download | xmlgraphics-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/util')
-rw-r--r-- | src/java/org/apache/fop/util/CharUtilities.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/util/CharUtilities.java b/src/java/org/apache/fop/util/CharUtilities.java index 80fd7aba2..0703deaf3 100644 --- a/src/java/org/apache/fop/util/CharUtilities.java +++ b/src/java/org/apache/fop/util/CharUtilities.java @@ -50,7 +50,7 @@ */ package org.apache.fop.util; -import org.apache.fop.layout.FontState; +import org.apache.fop.fonts.Font; /** * This class provides utilities to distinguish various kinds of Unicode @@ -117,7 +117,7 @@ public class CharUtilities { * @param fs FontState to use * @return the width of the character */ - public static int getCharWidth(char c, FontState fs) { + public static int getCharWidth(char c, Font fs) { int width; if ((c == '\n') || (c == '\r') || (c == '\t') || (c == '\u00A0')) { |