diff options
author | Glen Mazza <gmazza@apache.org> | 2003-11-01 04:28:02 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2003-11-01 04:28:02 +0000 |
commit | e17e45b0924c5af3a443cf0ae52199df2df326ab (patch) | |
tree | ba69412af91e56574f944cb65bb8884d6fdf5990 /src/java/org/apache/fop/render/pdf | |
parent | 153b66c5d6b402f88f10101614c73b2fe188618d (diff) | |
download | xmlgraphics-fop-e17e45b0924c5af3a443cf0ae52199df2df326ab.tar.gz xmlgraphics-fop-e17e45b0924c5af3a443cf0ae52199df2df326ab.zip |
Layout changed to account for fo:region-body borders and padding when
determining printable width and height for each page.
Various method nitpicks also fixed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196974 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pdf')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFRenderer.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index 5fa8ecdcb..d95073372 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -916,12 +916,12 @@ public class PDFRenderer extends PrintRenderer { // where previous line area failed to take up entire allocated space int rx = currentBlockIPPosition + IPMarginOffset; int bl = currentBPPosition + BPMarginOffset + text.getOffset(); - -/* System.out.println("BlockIP Position: " + currentBlockIPPosition + +/* + System.out.println("\nBlockIP Position: " + currentBlockIPPosition + "; currentBPPosition: " + currentBPPosition + "; offset: " + text.getOffset() + - "; Text = " + text.getTextArea()); */ - + "; Text = " + text.getTextArea()); +*/ // Set letterSpacing //float ls = fs.getLetterSpacing() / this.currentFontSize; //pdf.append(ls).append(" Tc\n"); |