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 2002/09/10 20:56:10 UTC

DO NOT REPLY [Bug 12494] New: - fop produces pdf file which Acrobat Reader refuses to display

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=12494>.
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=12494

fop produces pdf file which Acrobat Reader refuses to display

           Summary: fop produces pdf file which Acrobat Reader refuses to
                    display
           Product: Fop
           Version: 0.20.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: M.Hankus@ce3.pl


When I try to create pdf file with fop, Acrobat Reader (5.0.5 for linux) refuses 
to open that file and says:
"There was an error processing a page
Wrong operand type"

Page contains SVG image as background (fop does not complain about that)



FO file:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xlink="http://www.w3.org/1999/xlink">
  <fo:layout-master-set>
    <fo:simple-page-master
  margin-right="1.5cm"
  margin-left="1.5cm"
  margin-bottom="2cm"
  margin-top="1cm"
  page-width="21cm"
  page-height="29.7cm"
  master-name="first">
      <fo:region-before extent="1cm" />
      <fo:region-body margin-top="1cm" background-image="file:l.svg"/>
      <fo:region-after extent="1.5cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="first">
    <fo:flow flow-name="xsl-region-body">
            <fo:block text-align="center">Simple text</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>


l.svg file:

<?xml version="1.0" encoding="iso-8859-1"?>
<svg xml:space="preserve" style="shape-rendering:geometricPrecision;
text-rendering:geometricPrecision; image-rendering:optimizeQuality" 
viewBox="-3079 0 6486 4146" >
 <defs>
  <style type="text/css">
   <![CDATA[
    .fil1 {fill:#666C70}
   ]]>
  </style>
 </defs>
<g>
         <path  class="fil1" fill-rule="evenodd" d="M2326 2865 l0 1272 "/>
</g>
</svg>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org