[Scribus] Time to defend your use of libPDF

Craig Bradney cbradney
Wed Jan 25 20:46:29 CET 2006


On Wednesday 25 January 2006 20:08, Tino Schwarze wrote:
> On Wed, Jan 25, 2006 at 06:56:36PM +0000, Calum Polwart wrote:
> > 1. He says when it's (multivalent) scaling (actually - now that I think
> > of it he shouldn't be scaling, never mind!) from A4 to A5 the Horizontal
> > and Vertical Axis are scaled by different amounts which to me suggests
> > that the page isn't truely A4 or isn't truely A5... If I open a scribus
> > PDF it gives me page dimension - rather than A5... and they are 14.798 x
> > 20.998 for the A5 and multivalent puts two of those on a Page that it
> > calls A5 and they come out at 20.988 x 29.665 which is supposed to be
> > A4.
> >
> > Clearly there is an issue with 20.998 and 20.988 - one of them is
> > wrong... but who's?  Also, what about the 14.798 -- 2 x 14.798 =
> > 29.596...
> >
> > So who's got the A4/A5 dimensions wrong?
>
> Actually, both.
>
> A4 is 297 x 210 mm, no dot-something.
>
> Look here:
> http://de.wikipedia.org/wiki/Papierformat
> http://www.directtools.de/wissen/normen/papierformate.htm
> English page:
> http://www.cl.cam.ac.uk/~mgk25/iso-paper.html

If you were to look into Scribus 1.3.x code, you will see the ISO standard 
formula for calculating the page sizes which I put in there very early on in 
1.3.x to resolve non exact ISO page sizes in 1.2.x.. hence, we now have 
A4=210x297mm in the file new box.. and as a test i just exported to PDF and 
surprise surprise I got 210x297mm too. void PageSize::generatePageSizeList() 
has the calculations.

Craig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20060125/df7eaac3/attachment.pgp 



More information about the scribus mailing list