I can't figure out, where the problem lies. I append a very simple FO file to this mail. These settings are made:

* FOP 0.93
* JRE 1.5.0_01 (Win), JRE 1.5.0_07 (Lin)
* Win XP, Linux Deb Sarge
* No config file used, hence no special fonts embedded
* No internal fancy stuff like inline SVG and so on

Results: I uploaded them to my webspace:

* <http://www.manuel-strehl.de/fop/testcase4-win.pdf> (filesize 105 kB)
* <http://www.manuel-strehl.de/fop/testcase4-lin.pdf> (filesize 5 kB)

differing in filesize by 2100% ;-) Opening them in Acrobat gives the exactly same result, including embedded fonts (only Helvetica).

You'll find a ready made diff file there as well:

* <http://www.manuel-strehl.de/fop/testcase.diff> (filesize 108 kB)

but since some stuff is binary, the file looks rather weird.

Best regards
Manuel

PS: The FO file I used to produce above files:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

   <fo:layout-master-set>
       <fo:simple-page-master
                   margin-top="0cm" margin-bottom="0cm"
                   margin-left="0cm" margin-right="0cm"
                   page-width="21cm" page-height="29.7cm"
                   master-name="A4">
           <fo:region-body
                   margin-bottom="0cm" margin-top="0cm"/>
       </fo:simple-page-master>
   </fo:layout-master-set>
<fo:page-sequence master-reference="A4"> <fo:title>Testcase file sizes</fo:title>

       <fo:flow flow-name="xsl-region-body">
<fo:block margin-top="14.1mm" font-size="4.9mm" letter-spacing="1.6" text-align="center"> F<fo:inline font-size="80%">ile</fo:inline> S<fo:inline font-size="80%">izes</fo:inline>
           </fo:block>
<fo:block-container position="absolute" top="56mm" left="41mm"
                                                   >
               <fo:block-container position="absolute" top="0mm">
                   <fo:block>1</fo:block>
               </fo:block-container>
               <fo:block-container position="absolute" top="58mm">
                   <fo:block>2</fo:block>
               </fo:block-container>
               <fo:block-container position="absolute" top="121mm">
                   <fo:block>3</fo:block>
               </fo:block-container>
               <fo:block-container position="absolute" top="173mm">
                   <fo:block>4</fo:block>
               </fo:block-container>
           </fo:block-container>
</fo:flow>

   </fo:page-sequence>

</fo:root>


Jeremias Maerki schrieb:
How about doing a diff between the two PDFs to get an idea what's going
on?

I wouldn't normally expect any size difference between platforms for a
PDF file if all the variables concerning FOP (especially the
configuration) are the same.

On 25.04.2007 08:53:57 Manuel Strehl wrote:
Hi.

Just a point I noticed last night: Has someone experienced, too, that
PDF file sizes with Fop 0.93 under *Windows* are approx. 70% larger than
the ones of FOP 0.93 under *Linux*? It's in both cases the same JRE version.

Was this just a quaint FO file I had, or is this a general result? Btw:
I had inline SVG (in both cases handled by Batik 1.6), two PNGs and 3
TTF fonts to be embedded. Could the SVG be the reason?

Best
Manuel


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to