Migrating FOP and XSL FO to 1.1

2014-06-17 Thread Vijaya Raghavan.R
Hi, I'm new to xsl . Currently we are using XSL-FO 1.0 and FOP 0.93. we planned to migrate xsl and fop to latest 1.1 version. Please let me know that,what are the things should I consider while migrating XSL FO and FOP. Is performance improved in fop 1.1? Thanks in Advance. Please guide me.

Re: Migrating FOP and XSL FO to 1.1

2014-06-17 Thread Pascal Sancho
Hi, FOP 0.93 is quite old (released on 9 January 2007), so many improvments, bugfixes, new features, etc. were added since that version (see [1]). performance is not ommited: - less memory consuption - faster - producing smaller files - etc. To upgrade, read 1st the uprgrading page at [2].

Re: [PDF Renderer] Why FOP scales down 300 dpi images and not maintain the intrinsic image dimension?

2014-06-17 Thread Dridi Seifeddine
Hello, Is that what you were trying to achieve? No. I want to leave the image as it is and prevent FOP from scaling up or down. Using this: fo:external-graphic src=300dpi.jpg width=1919px height=1272px content-width=scale-to-fit content-height=scale-to-fit/ FOP implicitly assumes

Re: [PDF Renderer] Why FOP scales down 300 dpi images and not maintain the intrinsic image dimension?

2014-06-17 Thread Luis Bernardo
FOP does not implicitly assume that the pixel size is 72 dpi. FOP uses the pixel size (resolution) specified in the image. Since you are using JPEG and the resolution may be specified in the EXIF segment make sure you use trunk, not 1.1. If the image has no resolution (or the resolution is in the

Re: [PDF Renderer] Why FOP scales down 300 dpi images and not maintain the intrinsic image dimension?

2014-06-17 Thread Pascal Sancho
Hi, px unit defaults to 1/72 in, but you can specify other size: either in conf file with source-resolution, or in logic with fopFactory.setSourceResolution() Note that px is device dependant. You should use absolute unit instead. 2014-06-17 10:46 GMT+02:00 Dridi Seifeddine

Re: [PDF Renderer] Why FOP scales down 300 dpi images and not maintain the intrinsic image dimension?

2014-06-17 Thread Vincent Hennebert
On 17/06/14 10:46, Dridi Seifeddine wrote: Hello, Is that what you were trying to achieve? No. I want to leave the image as it is and prevent FOP from scaling up or down. Using this: fo:external-graphic src=300dpi.jpg width=1919px height=1272px content-width=scale-to-fit