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 2008/08/05 17:17:05 UTC
svn commit: r682743 -
/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/pdf/PDFTextUtil.java
Author: jeremias
Date: Tue Aug 5 08:17:04 2008
New Revision: 682743
URL: http://svn.apache.org/viewvc?rev=682743&view=rev
Log:
Bugfix for leading glyph adjust in TJ array.
Modified:
xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/pdf/PDFTextUtil.java
Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/pdf/PDFTextUtil.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/pdf/PDFTextUtil.java?rev=682743&r1=682742&r2=682743&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/pdf/PDFTextUtil.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/src/java/org/apache/fop/pdf/PDFTextUtil.java Tue Aug 5 08:17:04 2008
@@ -276,6 +276,9 @@
if (bufTJ.length() > 0) {
bufTJ.append(endText).append(" ");
}
+ if (bufTJ.length() == 0) {
+ bufTJ.append("[");
+ }
bufTJ.append(PDFNumber.doubleOut(adjust, DEC - 4));
bufTJ.append(" ");
bufTJ.append(startText);
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org