You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2004/01/16 10:30:23 UTC
DO NOT REPLY [Bug 26187] New: -
pdf created is wrong (some text is overwritten)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26187>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26187
pdf created is wrong (some text is overwritten)
Summary: pdf created is wrong (some text is overwritten)
Product: Fop
Version: 0.20.4
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Blocker
Priority: Other
Component: pdf renderer
AssignedTo: fop-dev@xml.apache.org
ReportedBy: dingkevin@yahoo.com
I use fop.bat to convert fo file to pdf file. It display bad format to the fo
file below. But If I change the order of last 2 block elements, It can create
pdf in good format. I think It must FOP error. I used fop 0.20.4 and 0.20.5 in
win2k. They have the same result. Thanks.
/*******fo file****************/
<?xml version="1.0" encoding="gb2312"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master
margin-right="0.25in" margin-left="0.25in" margin-bottom="0.25in" margin-
top="0.25in"
page-width="10in" page-height="11in" master-name="first">
<fo:region-body background-color="#ffffff"/>
<fo:region-before/>
</fo:simple-page-master>
<fo:simple-page-master
margin-right="0.25in" margin-left="0.25in" margin-bottom="0.25in" margin-
top="0.25in"
page-width="10in" page-height="11in" master-name="rest">
<fo:region-body background-color="#ffffff"/>
<fo:region-before/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="psmDW">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="first"
page-position="first" />
<fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
<fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="psmDW">
<fo:static-content flow-name="xsl-region-before">
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="1.083in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="1.083in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="1.083in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="0.927in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="0.927in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="0.927in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="1.240in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="1.240in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="1.240in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="1.396in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="1.396in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="1.396in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="1.552in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="1.552in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="1.552in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="1.708in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="1.708in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="1.708in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="1.865in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="1.865in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="1.865in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="2.021in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="2.021in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="2.021in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.553in" top="2.177in" width="1.937in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.896in" top="2.177in" width="0.980in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.926in" top="2.177in" width="0.551in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="right"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="0.656in" top="2.979in" width="1.126in"
height="0.469in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left">Central Texas College</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="1.802in" top="2.979in" width="0.624in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="center">004003</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="2.438in" top="2.979in" width="0.729in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="center"></fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.188in" top="3.312in" width="1.155in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left">Killeen</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.541in" top="3.312in" width="0.688in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left">765494199</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="4.354in" top="3.312in" width="0.166in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left">TX</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="5.947in" top="2.979in" width="0.604in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="center">490205</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="7.303in" top="2.979in" width="1.791in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="center">BAILEY, ANDREW J</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="9.115in" top="2.979in" width="0.668in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="center">1/6/03</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="6.563in" top="2.979in" width="0.729in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="center">246-19-7470</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="9.803in" top="2.979in" width="0.668in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="center">1/24/03</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.188in" top="2.979in" width="2.750in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left">Professional Truck Driving
Training</fo:block>
</fo:block-container>
<fo:block-container background-color="transparent" border-style="none"
position="absolute" left="3.188in" top="3.146in" width="2.750in"
height="0.146in">
<fo:block background-color="transparent" color="#000000" font-size="8pt" font-
family="Cyberbit" font-style="normal" font-weight="normal" text-
decoration="none" text-align="left">6200 West Central Texas
Expressway</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>