lpkhoo,

Just on the point of pixel conversion - there is no rigorously defined 
value for pixel.  The FOP code assumes 1 point per pixel, but the actual 
size is up to the implementation and the medium, and may vary in the 
vertical and horizontal directions.  Users are warned in the spec 
against relying on pixels, which may be a minimum of 1 device unit 
(which will vary from output device to device), 1/72" (i.e. a point), 
1/90" or 1/92".  Don't use them.

Peter


Keiron Liddle wrote:

> 
> The line height is converted into points the same way that all other 
> units are converted.
> The problem is that the actual line height in the output is incorrect. 
> It sets the line height to the lineheight - half leading (depends on the 
> font) which is wrong. The line stacking is not done correctly anyway so 
> it is not simple to fix it properly.
> 
> 
> On 2001.11.21 08:57 [EMAIL PROTECTED] wrote:
> 
>>
>> hello,
>>
>> Anyone know how to convert line height value, I need to convert the value
>> from pixel to pt.
>>
>> I try to convert the value from pixel by multiple 0.75 (value * 0.75) ,
>>
>> When I run FOP 0.20.0,  I found the line height is wrong.
>>
>> So, I not sure how to convert the value from pixel to pt, anyone know how
>> to calculate?
>>
>>
>> Thank you.
>>
>> lpkhoo.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 


-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to