[reportlab-users] deterministic output?

Chris Jerdonek chris.jerdonek at gmail.com
Wed Oct 31 21:43:45 EDT 2018


Thanks, Robin. I tried a PDF with tables, and it doesn't seem to be
deterministic unless I use RL_invariant=1. What does this variable do,
and does it affect anything else?

--Chris
On Wed, Oct 31, 2018 at 10:09 AM Robin Becker <robin at reportlab.com> wrote:
>
>
> We have done quite a lot of work to make the output deterministic, but probably you need to test the effect of environment
> variable RL_invariant=1. However I think there has been a recent change to python 3.x to make dictionaries more random which might
> make things harder.
>
>
> On 31/10/2018 16:43, Chris Jerdonek wrote:
> > Hi,
> >
> > I'm planning to write some tests of code that uses ReportLab to
> > generate some PDFs. My question is--
> >
> > To what extent is ReportLab's PDF generation deterministic? For
> > example, will the output files be the same byte-for-byte if I generate
> > the PDF's on different platforms -- provided that the version of
> > ReportLab is the same? Are there any known gotchas?
> >
> > Thanks,
> > --Chris
> > _______________________________________________
> > reportlab-users mailing list
> > reportlab-users at lists2.reportlab.com
> > https://pairlist2.pair.net/mailman/listinfo/reportlab-users
> >
>
>
> --
> Robin Becker


More information about the reportlab-users mailing list