aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2010-07-02 15:25:08 +0000
committerVincent Hennebert <vhennebert@apache.org>2010-07-02 15:25:08 +0000
commitda43afb9f8478dc523c6bda34510022a3fd1cc19 (patch)
treec533dd7523d99d59a0a28550c2a6b6aaec722bda /src/java/org
parentef97b9f09ca70310511f6670c259fe73585b64ad (diff)
downloadxmlgraphics-fop-da43afb9f8478dc523c6bda34510022a3fd1cc19.tar.gz
xmlgraphics-fop-da43afb9f8478dc523c6bda34510022a3fd1cc19.zip
Added toString method to ease debugging
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@960025 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/fonts/FontType.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/FontType.java b/src/java/org/apache/fop/fonts/FontType.java
index 95b594ca4..e19901d1e 100644
--- a/src/java/org/apache/fop/fonts/FontType.java
+++ b/src/java/org/apache/fop/fonts/FontType.java
@@ -127,4 +127,9 @@ public class FontType {
return value;
}
+ /** {@inheritDoc} */
+ public String toString() {
+ return name;
+ }
+
}