PDF creation /scalefit issue

typhoonHIL
Posts: 2
Joined: Thu Sep 21, 2017 4:38 pm

PDF creation /scalefit issue

Post by typhoonHIL » Thu Sep 21, 2017 5:15 pm

Hi!

I have an issue with generating PDFs. When the image title is below the image and the scalefit is "yes" on the image there is a huge space between the image and the title in the PDF. The image is scaled to fit the document width but the height seems to have a 'placeholder' for the original height and just at that point the title is placed. Anyhow we can resolve this issue? Btw when using scale or width/height it works.

Using Oxygen XML Editor 19.0 build 2017062918

Thanks!
Robert

Code: Select all


<fig id="fig_bfw_y5t_p1b">
<title>Mask dialog</title>
<image href="../Images/mask_01.jpg" id="image_cfw_y5t_p1b" align="center" scalefit="yes"/>
</fig>

And the output would be


Image


In places where scalefit is not declared or scale/width/height is used the title is right under the image


Image

xephon
Posts: 98
Joined: Mon Nov 24, 2014 1:49 pm
Location: Münster/Germany

Re: PDF creation /scalefit issue

Post by xephon » Fri Sep 22, 2017 9:26 pm

https://github.com/dita-ot/dita-ot/issues/2663

Probably related to this scalefit issue. :(
Join the DOCTALES DITA development team :arrow: https://doctales.atlassian.net/wiki

typhoonHIL
Posts: 2
Joined: Thu Sep 21, 2017 4:38 pm

Re: PDF creation /scalefit issue

Post by typhoonHIL » Thu Oct 05, 2017 1:21 pm

Thank you for pointing me in this direction. The solution works in some cases when the image is larger than the page. In cases where the image is small, like an icon, it is stretched to full page width. I'll keep looking.

Post Reply