PDF creation /scalefit issue
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Thu Sep 21, 2017 4:38 pm
PDF creation /scalefit issue
Post by typhoonHIL »
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
And the output would be

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

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

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

-
- Posts: 160
- Joined: Mon Nov 24, 2014 1:49 pm
- Location: Greven/Germany
Re: PDF creation /scalefit issue
stefan-jung.org – Your DITA/DITA-OT XML consultant
-
- Posts: 2
- Joined: Thu Sep 21, 2017 4:38 pm
Re: PDF creation /scalefit issue
Post by typhoonHIL »
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.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service