Defining XML Entities in FOP 2.2

2017-05-16 Thread Jens Hofschröer
Hi Since FOP 2.2 it is no longer allowed to use a DOCTYPE declaration[1]. An issue originally only disallowing the loading of external DTDs. We are using FOP to transform a Docbook document separated in several files. Each of these files uses a local "settings.dtd" with common XML Entities u

Re: Defining XML Entities in FOP 2.2

2017-05-16 Thread Glenn Adams
Since the XSLT front end functionality in FOP serves merely as a convenience function for the user, you may choose to use alternative tools not integrated into FOP as your front end. I suggest you do this in order to transform from your input data set into XSL-FO input files which you can feed dire

PDF size reduction

2017-05-16 Thread spoorthi myneni - TECRA
Hi Team, We have a requirement to reduce the size of the PDF size from 200Kb(approximately) to as less as possible. There are 5 images in the PDF that I am using. PDF size without images is coming up to 40Kb. Each Image size(jpegs): CCX logo- 60Kb, 3 small images: 18kb each, SMS logo - 50Kb

Re: PDF size reduction

2017-05-16 Thread Frank Hirsch
Personally I use Apache FOP for some projects - but I am not quite an expert when it comes to Java… As far as I understand you may want to adjust the image resolution/compression to shrink the size of the files used in you FO - but I am not sure if this can be done automatically using a differe

Re: PDF size reduction

2017-05-16 Thread Peter Hansson
Hi Spoorthi Another angle: I've found SVGs to be MUCH MORE efficient in terms of space usage. Try to see if you have those logos in SVG format instead and see if it helps. The added bonus of doing this is that image still looks nice even when the end-user is using the zoom function when looking a