Bug 29458 - no image is rendered with option -print
Summary: no image is rendered with option -print
Status: CLOSED WONTFIX
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: images (show other bugs)
Version: 0.20.5
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 09:04 UTC by Hardy Braunsdorf
Modified: 2012-04-01 13:50 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hardy Braunsdorf 2004-06-09 09:04:01 UTC
An external graphik exist in a fo:block area. The image was rendered into pdf 
or postscript. But the image wasn't rendered, when the -print option is used.
Comment 1 Chris Bowditch 2004-06-09 13:17:48 UTC
Please provide more information:

What OS/version? 
What JDK/version?
Image Type? JPG, GIF, TIFF, etc

and please provide a sample.
Comment 2 Hardy Braunsdorf 2004-06-09 13:39:25 UTC
The Image is "xml_fax.tif" from the example graphics directory.
The JDK-Version is 1.4.2_04.
example:
<?xml version="1.0" encoding="iso-8859-1"?>

<fo:root font-family="Times Roman" font-size="12pt" text-align="center" 
xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>

        <fo:simple-page-master master-name="only" page-height="29.7cm" page-
width="21cm" margin-top="0cm"
          margin-bottom="1cm" margin-left="1cm" margin-right="0cm">
          <fo:region-body margin-top="2cm" margin-bottom="0cm"/>
          <fo:region-before extent="0cm"/>
          <fo:region-after extent="0cm"/>
        </fo:simple-page-master>

        <fo:page-sequence-master master-name="run1">
          <fo:repeatable-page-master-reference master-reference="only"/>
        </fo:page-sequence-master>

</fo:layout-master-set>

<fo:page-sequence id="1" master-reference="only">
  <fo:flow flow-name="xsl-region-body">
    <fo:block border-color="black" border-style="solid" border-width=".3mm" 
margin-right="0.5cm" margin-bottom="6cm">
      <fo:external-graphic margin-left="0.2cm" src="url(c:\projekte\fop-0.20.5
\examples\fo\graphics\xml_fax.tif)"/>
    </fo:block>
  </fo:flow>
</fo:page-sequence>
</fo:root>
Comment 3 J.Pietschmann 2004-06-09 19:10:08 UTC
TIFF images can't be used in the AWT and the print renderer. Use another graphic
format.
Comment 4 Glenn Adams 2012-04-01 13:50:12 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs