[reportlab-users] Preparations for next release
Robin Becker
robin at reportlab.com
Wed Sep 8 11:16:42 EDT 2010
On 07/09/2010 12:53, Roberto Alsina wrote:
> On Tuesday 07 September 2010 08:46:08 Andy Robinson wrote:
>> 4. Inline images with relative widths: we're happy in principle, and
>> trying to implement it now
>> http://two.pairlist.net/pipermail/reportlab-users/2010-June/009570.html
>
> Oh, cool. You just improved my morning :-)
..........
The latest svn code should now contain an initial implementation and in the
tests folder test_platypus_paragraphs.py some usages of the new feature.
As currently implemented
<img width="w%" height="h%" ..../>
makes the image linewidth*w/100 wide and fontSize*h/100. I think that is all
working, but since linewidths/fontSizes may vary in a paragraph that may not suit.
By linewidth we mean the maximum allowed width which might be shorter in the
first line etc etc. It would be much easier if we could have static normalizers,
but that may also be quite hard.
--
Robin Becker
More information about the reportlab-users
mailing list