[reportlab-users] Vertical table alignment change in ReportLab 3.5.44

Marius Gedminas marius at gedmin.as
Thu Dec 12 06:48:33 EST 2024


Hello!

While updating dependencies of old application that was still using
ReportLab 3.5.23 I noticed a strange change in behavior with vertical
table alignment.  I've narrowed it down to a change between ReportLab
3.5.42 and 3.5.44 with the following code:

  https://gist.github.com/mgedmin/079923e0c115ce88db8a56496a9a3b92

The leftmost table cell that contains the 'A' is vertically aligned at
the top, like the table style requests in 3.5.42, but suddenly gets
aligned at the bottom with 3.5.44 and newer versions.  (You can see
screenshots of the two versions of the PDF in the comments below the
gist itself.)

Does anyone know what's happening there?  Have I found a bug?

I'm attaching the code for completeness, in case accessing the gist is
inconvenient.

(BTW I've been away for a long time.  Do you perhaps have a Git
repository available somewhere?)

Regards,
Marius Gedminas
-- 
<mcdonc> i'm going to start charging by the facepalm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportlab_table_bug.py
Type: text/x-python
Size: 2797 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20241212/072820ed/attachment.py>


More information about the reportlab-users mailing list