<length> in XSL-FO is as defined by CSS 2. A unit designator is required
unless the value is 0. The available unit designators are:

   - em
   - ex
   - in
   - cm
   - mm
   - pt
   - pc
   - px

The unit 'pt' is an absolute measurement equal to 1/72 inch. FOP
non-conformantly permits unit-less lengths not equal to zero, in which case
it is interpreted as 'px', which is device/implementation dependent.

If you want a precise, absolute measurement, use 'pt', 'mm', or another
absolute unit.

Glenn

On Thu, Jun 2, 2011 at 8:16 AM, Eric Douglas <[email protected]>wrote:

>  How does Fop measure?
> If I put a tag in my .fo for <fo:block-container position="absolute" left=
> …
> Does it measure in pixels / points (are they the same thing?)?
> Do I need to specifiy?  left="10px" or just left="10"?
> It appears to work the same with or without a unit of measure, assuming the
> page measurement to be 72PPI, but I don't want to make an assumption and be
> wrong later.
>

Reply via email to