[reportlab-users] The upcoming Reportlab 1.18 release and patches.
Dirk Holtwick
reportlab-users@reportlab.com
Mon, 07 Jul 2003 17:11:20 +0200
hi,
in platypus/para.py are still some modifications missing that I send to
ths list on 3.6.2003. heres the message again:
>>>>>>>>>>>>>>>>>>>>>>>>>
here are some other patches that help with:
- setting font size
- calculating proper wrap sizes
- using leading of the style defined for the paragraph
hope this helps,
with font size and leading I figured out that if you change leading
within a line of text it doesn't change the leading used initaly. the
normal paragraph.py doesn't change it too, but I think it would be nice
to adjust the leading for one line if there is some text in it with
bigger font size.
dirk
--- snip ---
RCS file: /cvsroot/reportlab/reportlab/platypus/para.py,v
retrieving revision 1.7
diff -r1.7 para.py
144c144,146
< heightremaining = maxheight-leading
---
> heightremaining = maxheight
> if leading:
> self.leading = leading
767c769
< #textobject.setFont(self.fontName, self.fontSize)
---
> textobject.setFont(self.fontName, self.fontSize)
--- snap ---
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
spirito GmbH
Lerchenstr. 8
D-47057 Duisburg
fon: +49 203 3187778
mbx: holtwick@spirito.de
web: http://www.spirito.de
_______________________________________________
reportlab-users mailing list
reportlab-users@reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users