Next in thread → Next in month →

RE: [docbook-apps] Images good in HTML and PDF bad in JavaHelp due to wrong scaling

From
Mauritz Jeanson <>
Date
2008-10-23T13:46:59+00:00
ID
31CF9193CED146C98B38B8E774C2DD7B@D7MZ171J
Thread
RE: [docbook-apps] Images good in HTML and PDF bad in JavaHelp due to wrong scaling
> -----Original Message-----
> From: Darya Said-Akbari 
> 
> I use image file references in my DocBook XML file with 
> scalefit=1 and width=100%. The result looks fine in my HTML 
> and PDF outputs.
> 
> The JavaHelp output shows the images, but unfortunately due 
> wrong scaling they are not recognizable anymore.
> 
> Is there a problem with the attributes scalefit and width 
> when using the JavaHelp DocBook XSL?


Even if I don't know all the details in your case, I hazard a guess that
this is more of a JavaHelp problem than a DocBook-XSL problem. The default
content viewer (HTML renderer) in JavaHelp is the Swing HTMLEditorKit. My
impression is that this component is rather primitive and outdated. 

With some programming, it is possible to plug in other content viewers. See 
http://weblogs.java.net/blog/brinkley/archive/2004/11/javahelp_v20_02_1.html

Mauritz
Next in thread → Next in month →