Re: PDF size reduction

2011-05-03 Thread Pascal Sancho
Hi, There is no mechanism to reduce graphic size in FOP. You have to optimize it before running FOP. You should find tools that can resample bitmap images in a batch process. Le 02/05/2011 17:12, Roberto Cahanap a écrit : Hello fop users! Is there a way in FOP to reduce the size of the PDF?

Re: PDF size reduction

2011-05-03 Thread Michael Rubin
If you aren't bothered about image quality, then (albeit not knowing what format the image is currently) can you not use something like high JPEG compression on the graphics? This will dramatically reduce the image size and therefore the PDF size. Thanks. -Mike On 02/05/11 16:12, Roberto

Re: PDF size reduction

2011-05-03 Thread Giuseppe Briotti
2011/5/3 Michael Rubin mru...@thunderhead.com If you aren't bothered about image quality, then (albeit not knowing what format the image is currently) can you not use something like high JPEG compression on the graphics? This will dramatically reduce the image size and therefore the PDF

Re: PDF size reduction

2011-05-03 Thread Pascal Sancho
What FOP version do you use? until FOP 0.94 (IIRC), color profile was systematically included in PDF. Now, when sRGB profile is used, it is not embedded in PDF. Removing color profile will reduce PDF size. Le 03/05/2011 09:09, Pascal Sancho a écrit : Hi, There is no mechanism to reduce

Re: PDF size reduction

2011-05-03 Thread Giuseppe Briotti
2011/5/3 Giuseppe Briotti g.brio...@gmail.com 2011/5/3 Michael Rubin mru...@thunderhead.com If you aren't bothered about image quality, then (albeit not knowing what format the image is currently) can you not use something like high JPEG compression on the graphics? This will dramatically

Re: ToUnicode table in subset font not correct?

2011-05-03 Thread mehdi houshmand
Hi Ruud, Yes this is a bug, which has been fixed in my patch, but since I didn't think anyone else had bumped into it I didn't want to put it into trunk since I also made some code improvements to the class and was weary that it could cause merge issues when/if the branches are merged. The issue

Re: ToUnicode table in subset font not correct?

2011-05-03 Thread ruud grosmann
On 03/05/2011, mehdi houshmand med1...@gmail.com wrote: Hi Ruud, Yes this is a bug, which has been fixed in my patch, but since I... Hi Mehdi, I'm very glad to hear the problem is known. I have filed a bug report. https://issues.apache.org/bugzilla/show_bug.cgi?id=51144 I hope the

Re: PDF size reduction

2011-05-03 Thread TvT
Hi, i agree with Michael - reducing the image size is the key. We had this problem once with huge TIFF files which can (after scanning) easily have a size of 50MB or bigger. With the java image io we converted those pics into TIFF-G4 standard which are greatly reduced in size (kb level).

RE: Change bars

2011-05-03 Thread Eric Douglas
I'm currently drawing lines with xslfo code programatically, so yes I do it with absolute positioning and it may be difficult to do if you need to print something without absolute positioning. I had started out trying to set a border on a block to draw a line and ended up drawing the block as

RE: PDF size reduction

2011-05-03 Thread Eric Douglas
It should depend on how the image is referenced, if it's embedding the image once in the document, if it's referenced multiple times and embedding it multiple times, or if it's an external link. The obvious answer if you don't care about quality is to reduce the size of the image before you try to

RE: PDF size reduction

2011-05-03 Thread Roberto Cahanap
Thank you everybody for responding. So based on the responses, we need to change the quality of the JPG first and then create the PDF. I'll research around for an app that will allow me to do this programmatically. Thank you again! -Roberto From: Giuseppe Briotti

Re: ToUnicode table in subset font not correct?

2011-05-03 Thread Chris Bowditch
On 03/05/2011 13:44, mehdi houshmand wrote: Hi Medhi, Just for future reference, the change hasn't been made in the patch to bug 50483. I made the change while implementing full CIDMap embedding as a feature for the TrueTypeInPostScript branch and have yet to finish implementation of this