Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#733 draft.png does not have dpi set

other
closed-fixed
XSL (1066)
5
2006-04-30
2006-01-22
Max Berger
No

Hi docbook-xsl-ers,

when translating a docbook in "draft" mode, the default
draft.png watermark image is added.

The image is 652 x 694 pixels, it does not have its dpi
set.

Fop ( current svn version ) therefore assumes 75 dpi,
resulting in a picture 8.7 inches wide.

Since my letter paper is only 8.5 inches wide, and has
total margins os 2.5 inches, the resulting image looks
very chopped off on the sides.

I will assume that the default draft image was meant to
be 150 dpi, which makes it 4.3 inches wide: fits
perfectly on all letter and a4 papers.

I have attached a modiefied draft.png image

Thanks

Max

Discussion

  • Max Berger
    Max Berger
    2006-01-22

    draft.png with resolution set to 150 dpi

     
    Attachments
  • Robert Stayton
    Robert Stayton
    2006-04-30

    Logged In: YES
    user_id=193218

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Robert Stayton
    Robert Stayton
    2006-04-30

    • assigned_to: nobody --> bobstayton
    • status: open --> closed-fixed
     
  • Robert Stayton
    Robert Stayton
    2006-04-30

    Logged In: YES
    user_id=193218

    I tested and checked in your new version.

     
  • Max Berger
    Max Berger
    2006-05-10

    Logged In: YES
    user_id=99210

    works just as i wanted. Thanks