W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2004

Re: how to transform my width in cm. to pdf?

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 17 Feb 2004 11:40:27 GMT
Message-Id: <200402171140.LAA26659@penguin.nag.co.uk>
To: sudha.raver-veettil@einsurance.de
Cc: www-xsl-fo@w3.org

  What is the standard measurement unit used in pdf after the transformation?

pdf doesn't really have units at all, it always works (like postscript)
to a local coordinate system that may be scaled/rotated at will, but
defaults to points (or at least big points: 1/72 in rather than 1/72.27 in)

However this isn't your problem as the FO spec clearly allows you to use 
cm as a unit, and it is the job of the FO system to produce some
suitable PDF to represent that.

You did not give any description of what was wrong with your
measurements. A common problem with measurements in pdf files is that
people print from acrobat while leaving its checkbox option to enlarge
or shrink the page to fit the paper checked. This of course will change
any lengths (and font sizes).

However it wasn't clear from your description if the whole table was
uniformly the wrong size (which is probably an acrobat scaling problem
as above) or if some parts of the table  had unexpected sizes, in which
case you probably left some FO objects with default or "auto" sizing
but it's hard to say...



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Received on Tuesday, 17 February 2004 06:40:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:00 UTC