Steve,
On 05/04/2008, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>
> Jean-Marc van Leerdam wrote:
>
> > Hi,
> >
> > The recent changes to the way the documentation is generated has
> > resulted in reduced quality images in the PDF version. On screen they look
> > fine, but printing them results in -- how do I say this nicely -- sub
> > optimal prints ;-)
> >
> > I noticed a commit where all images were reduced to 96dpi and a max
> > width/height of 500/800. This results in a max effective image width in the
> > PDF of 5.2 inch (13 cm).
> >
>
> The dpi was not reduced. Most images already had a dpi of 96, but some had
> one of 72dpi. those were increased to 96 dpi.
When setting the dpi to 150 on the .png files, they render much nicer in pdf
(no other changes needed).
I don't expect this will impact the html and chm rendering, as these use the
images as they are right?
I can post the TortoiseSVN-1.5.0-en.pdf if you want to see the results.
Images up to 800 pixels wide will fit onto a page if its DPI is set to 150.
Isn't it possible to render the images as 200dpi (or 150dpi) in the PDFs?
> > With a max width of 13 cm, that should allow images of up to 1040 (or 780 at
> > 150dpi). For printouts that results in much clearer images.
> >
> > I would lend a hand in debugging the FOP/Docbook stuff to see where the
> > image resolution is set. A pointer towards the file(s) to start with would
> > be great.
> >
>
> If you can find out how to make the pdf generation scale the images to fit
> the page so they won't get cut off at the right, that would be great. I
> tried many hours to get this done without success.
Scaling oversized images is not available in FOP at the moment. See
http://xmlgraphics.apache.org/fop/knownissues.html (Other known issues,
bullit 11: Images currently don't shrink so they fit on a page when they are
too big and shrinking is allowed to happen).
--
Regards,
Jean-Marc
----------------
___
// \\ @@ "De Chelonian Mobile"
/ \_/ \/._) TortoiseSVN
<\_/_\_/ / The coolest Interface to (Sub)Version Control
/_/ \_\ Check out http://tortoisesvn.net
Received on 2008-04-05 21:34:25 CEST