aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/afp/fonts/OutlineFont.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-11-21 18:17:47 +0000
committerJeremias Maerki <jeremias@apache.org>2008-11-21 18:17:47 +0000
commit9d339f0968314f0cfcc4a720628fed1845292ce1 (patch)
treeee0ff6bd4f29d79bc6f5f55aa4c6d67b10a37c2d /src/java/org/apache/fop/render/afp/fonts/OutlineFont.java
parentbe4dc692db093ec6b8039d7e61804e28f1709db4 (diff)
parent0d4aac57ebb98f2a40dce9ccd24027d8ab268782 (diff)
downloadxmlgraphics-fop-9d339f0968314f0cfcc4a720628fed1845292ce1.tar.gz
xmlgraphics-fop-9d339f0968314f0cfcc4a720628fed1845292ce1.zip
Merged from Trunk revisions 706551 to 719661.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@719664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/afp/fonts/OutlineFont.java')
-rw-r--r--src/java/org/apache/fop/render/afp/fonts/OutlineFont.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/afp/fonts/OutlineFont.java b/src/java/org/apache/fop/render/afp/fonts/OutlineFont.java
index f8dd9a1ed..71c5dfb6f 100644
--- a/src/java/org/apache/fop/render/afp/fonts/OutlineFont.java
+++ b/src/java/org/apache/fop/render/afp/fonts/OutlineFont.java
@@ -136,7 +136,7 @@ public class OutlineFont extends AFPFont {
* @return the width of the character for the specified point size
*/
public int getWidth(int character, int size) {
- return charSet.width(character) / 1000 * size;
+ return charSet.getWidth(character) / 1000 * size;
}
/**