[rules-dev] docbook - ensuring images fit correctly in PDF

Michael Anstis michael.anstis at gmail.com
Wed May 11 11:04:42 EDT 2011


If you've ever struggled to get an image to scale correctly in the PDF form
of our documentation I "discovered" "scalefit" this afternoon.

Set it to "1" on your imagedata and it'll fit perfectly in HTML and PDF :)

<mediaobject>
  <imageobject>
    <imagedata fileref="whatever.png" format="PNG" scalefit="1" >
    </imagedata>
  </imageobject>
</mediaobject
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110511/b430fee0/attachment.html 


More information about the rules-dev mailing list