[reportlab-users] Rendering different sizes on different viewers

Paul McNett p at ulmcnett.com
Wed Jan 4 17:16:26 EST 2006


This isn't a question about ReportLab, but I imagine there are some PDF gurus 
hanging out here so I hope you don't think think this is too off-topic to 
discuss here.

I've created a rectangle 2-7/16 inches wide by 1 inch high.
(2.4375 in x 1.0 in)
I do this using canvas.rect(x, y, 2.4375*inch, 1*inch)

I generate the PDF using ReportLab on Linux. I print it out using the following 
programs, with the following ruler measurements of the resulting rectangle:

1. gpdf on Linux: 2.4375" x 1.0" (perfect)
2. evince on Linux: 2.375" x 0.96875" (a hair too small)
3. acroread 7 on Windows: 2.46875" x 0.9375" (noticably too small)

Additionally, the margins are different on all three.

#1 and 2 use the same printer driver, all three use the same printer. Can 
someone tell me what is happening and my workaround options? I can probably 
standardize on Acrobat Reader but the fact that I specify a certain size but 
Acrobat is scaling it down is somewhat distressing to me.

-- 
Paul McNett
http://paulmcnett.com
http://dabodev.com



More information about the reportlab-users mailing list