You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2003/04/03 14:50:03 UTC
cvs commit: xml-fop/src/java/org/apache/fop/render/pdf FontTriplet.java
jeremias 2003/04/03 04:50:03
Modified: src/java/org/apache/fop/render/pdf FontTriplet.java
Log:
Added toString() method for debugging
Revision Changes Path
1.2 +7 -0 xml-fop/src/java/org/apache/fop/render/pdf/FontTriplet.java
Index: FontTriplet.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/pdf/FontTriplet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FontTriplet.java 11 Mar 2003 13:05:13 -0000 1.1
+++ FontTriplet.java 3 Apr 2003 12:50:03 -0000 1.2
@@ -92,5 +92,12 @@
public String getStyle() {
return style;
}
+
+ /**
+ * @see java.lang.Object#toString()
+ */
+ public String toString() {
+ return getName() + "," + getStyle() + "," + getWeight();
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org