[reportlab-users] Problem with KeepInFrame in 2.1

Roberto Alsina ralsina at netmanagers.com.ar
Sun Aug 31 08:07:00 EDT 2008


Hello,

When using a KeppInFrame in "truncate" mode, it eats the border of a
XPreformatted inside it.

I am generating the KeepInFrame like this:

KeepInFrame(2000*cm,2000*cm,content=[XPreformatted(text,style)],mode="truncate")

I use the silly 2000*cm so it's actually using the size of the frame it's in
at wrapping time.

Here's an example PDF with the problem (look at the code fragments):

http://rst2pdf.googlecode.com/svn/trunk/doc/manual.pdf

Any suggestions?

--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. --Brian W. Kernighan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Docutils-users mailing list
Docutils-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.



More information about the reportlab-users mailing list