DITA and XMetaL Discussion
bzebian July 21, 2009 at 6:11 pm
Scale Function in Enhanced RenderX PDFJuly 21, 2009 at 6:11 pmParticipants 4Replies 5Last Activity 13 years, 2 months ago
Seems to me that the image scale function does not work in XmetaL 5.1 Enhanced RenderX XEP PDFs. Is this an issue with the DITA OT shipped with 5.1 or the RenderX?Su-Laine Yeo July 21, 2009 at 6:21 pm
Reply to: Scale Function in Enhanced RenderX PDFJuly 21, 2009 at 6:21 pm
It's a known, and unfortunately still unassigned, issue with the Open Toolkit: http://sourceforge.net/tracker/index.php?func=detail&aid=1852733&group_id=132728&atid=725074
I just noticed Radu Coravu's comment that he (or she) has a patch for the issue. I don't have the technical knowledge to know how to go about integrating a patch, however perhaps you or others on this forum would know how to do it.bzebian July 21, 2009 at 7:54 pm
Reply to: Scale Function in Enhanced RenderX PDFJuly 21, 2009 at 7:54 pm
Thanks. I'll see if I can contact Radu & get the patch.bzebian July 23, 2009 at 1:25 pm
Reply to: Scale Function in Enhanced RenderX PDFJuly 23, 2009 at 1:25 pm
I got the patch from Radu (some changes to the commons.xsl code) but have not gotten it to work. Also I'm finding that scale doesn't work in the HTML output either. Will continue to work with.bzebian July 24, 2009 at 5:56 pm
Reply to: Scale Function in Enhanced RenderX PDFJuly 24, 2009 at 5:56 pm
I found this in one of Derek's post on this board. This works just as well & the image is accordingly reduced in the output, so I'm forgetting about scale.
If you wish to avoid the use of the scale attribute (which is not really supported by the DITA OT yet anyway, regardless of whether you are using DITA 1.0 or 1.1) set only one of the dimensions of the image. Both XMetaL Author Enterprise and the DITA OT currently support setting both width and height or one of either. If you set only one the other one will automatically size using the correct aspect ratio. This follows the rules laid out in the DITA Language Reference. XMetaL Author Enterprise itself handles width, height and scale properly, along with the various allowed units. The limiting factor here at the present time is the DITA OT.
- You must be logged in to reply to this topic.