<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Instead of having to do add that for every image, we should fix it
on the styles itself.<br>
I created an issue for that long ago:<br>
<a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/JDOCBOOKSTYLE-19">https://issues.jboss.org/browse/JDOCBOOKSTYLE-19</a><br>
If there's a patch, I can fix and release those styles (I did a
release of them last week to stop hudson crashing downloading from
eclipse repo's).<br>
<br>
You didn't happen to test with both images that were to big and
those that were to small for a page? :)<br>
Image to big => should be scaled down<br>
Image to small => should NOT be scaled up to fit the page width
(looks awe-full).<br>
That might be the tricky part :/<br>
<br>
Op 11-05-11 17:04, Michael Anstis schreef:
<blockquote
cite="mid:BANLkTinTRzoiotjR1X3vat9AgxYBThR=8Q@mail.gmail.com"
type="cite">If you've ever struggled to get an image to scale
correctly in the PDF form of our documentation I "discovered"
"scalefit" this afternoon.<br>
<br>
Set it to "1" on your imagedata and it'll fit perfectly in HTML
and PDF :)<br>
<br>
<span style="font-family: courier new,monospace;"><mediaobject></span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<imageobject></span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
<imagedata fileref="whatever.png" format="PNG" scalefit="1"
></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
</imagedata></span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
</imageobject></span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;"></mediaobject</span><br
style="font-family: courier new,monospace;">
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
With kind regards,
Geoffrey De Smet</pre>
</body>
</html>