You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Luke Shannon <ls...@futurebrand.com> on 2005/01/21 23:10:47 UTC

Mixing Units

Can problems arise from mixing units? My page is defined in cm and images in
px.

Thanks,

Luke



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Mixing Units

Posted by Luke Shannon <ls...@futurebrand.com>.
Thanks. This might explain what I am seeing now.

----- Original Message ----- 
From: "The Web Maestro" <th...@gmail.com>
To: <fo...@xml.apache.org>
Sent: Friday, January 21, 2005 5:18 PM
Subject: Re: Mixing Units


> On Jan 21, 2005, at 2:10 PM, Luke Shannon wrote:
> > Can problems arise from mixing units? My page is defined in cm and 
> > images in
> > px.
> >
> > Thanks,
> >
> > Luke
> 
> It should not be a problem to mix units. However, I've seen a number of 
> times recently when FOP developers indicate that pictures should never 
> be defined using 'px'. Rather they should be defined using 'cm', 'mm', 
> 'in'. I believe the thinking is something to the effect of: 'px' is 
> resolution dependent, whereas 'cm', 'mm', & 'in' are not.
> 
> Web Maestro Clay
> -- 
> <th...@gmail.com> - <http://homepage.mac.com/webmaestro/>
> My religion is simple. My religion is kindness.
> - HH The 14th Dalai Lama of Tibet
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Mixing Units

Posted by The Web Maestro <th...@gmail.com>.
On Jan 21, 2005, at 2:10 PM, Luke Shannon wrote:
> Can problems arise from mixing units? My page is defined in cm and 
> images in
> px.
>
> Thanks,
>
> Luke

It should not be a problem to mix units. However, I've seen a number of 
times recently when FOP developers indicate that pictures should never 
be defined using 'px'. Rather they should be defined using 'cm', 'mm', 
'in'. I believe the thinking is something to the effect of: 'px' is 
resolution dependent, whereas 'cm', 'mm', & 'in' are not.

Web Maestro Clay
-- 
<th...@gmail.com> - <http://homepage.mac.com/webmaestro/>
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org