OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] contentwidth attribute not transformed correctly


Chris Johnson wrote:

> The contentwidth="740" is transformed into width="739.9999999999999".
> Strangely, the contentdepth="433" transforms correctly to height="433".
> 
> I checked the FAQ's, and googled this issue, to no avail. Any ideas?

For me it looks like some number rounding problem. Can you try it with 
different Java virtual machine?

Another workaround will be to change stylesheets to round these numbers 
always as pixel can't be decimal.

-- 
-----------------------------------------------------------------
   Jirka Kosek  	
   e-mail: jirka@kosek.cz
   http://www.kosek.cz

S/MIME Cryptographic Signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]