This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]