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/03 22:43:21 UTC

DO NOT REPLY [Bug 25882] New: - PS-Renderer doesn't generate pages in landscape orientation

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

PS-Renderer doesn't generate pages in landscape orientation

           Summary: PS-Renderer doesn't generate pages in landscape
                    orientation
           Product: Fop
           Version: 0.20.5
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: steiner@sophisware.ch


The ps-renderer doesn't produce correct output if the page format is defined 
as landscape. 
I tested the outpot wit following fo-file:

<?xml version="1.0" encoding="utf-8"?>

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

	<fo:layout-master-set>
		<!-- layout for the first page -->
		<fo:simple-page-master master-name="A4-landscape" reference-
orientation="90"
			page-height="21cm" page-width="29.7cm" >
			margin-top="1cm" margin-bottom="1cm" margin-left="1cm" 
margin-right="1cm">
            		<fo:region-body></fo:region-body>
		</fo:simple-page-master>	
	</fo:layout-master-set>
 

  <fo:page-sequence master-reference="A4-landscape">

  <fo:flow flow-name="xsl-region-body">
  <fo:block font-size="18pt" font-weight="bold"> FOP test line </fo:block>
  </fo:flow>
</fo:page-sequence>

</fo:root>

With the PDF-renderer the output is correct. In my project I can not use the 
PDF-renderer. I have to produce documents with differnt EPS-images in it. EPS-
images will not be converted by PDF-renderer. PDF-files will be generated 
by "distiller".

regards
markus steiner