Bug 613140
Summary: | PDF intermittently ignoring "width" flag on imagedata in PDF builds | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Publican | Reporter: | Deon Ballard <dlackey> | ||||
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 1.6 | CC: | jfearn, mmcallis, publican-list, rlandman | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | publican-2.2-0.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-10-08 20:42:32 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
I'm sorry, that's chapter 1 and chapter 5. Not chapter 2. This use of role isn't supported in DocBook or Publican, does it work if only use one imageobject? Sagehill thinks "role" is supported for Docbook images: http://www.sagehill.net/docbookxsl/GraphicSelection.html And this worked in versions of publican pre-1.0. (In reply to comment #3) > Sagehill thinks "role" is supported for Docbook images: > http://www.sagehill.net/docbookxsl/GraphicSelection.html Well there you go, you learn something new everyday! > And this worked in versions of publican pre-1.0. The XSL that handles this is in the default DocBook XSL and has not been overridden by Publican. Does it work consistently if you build the book in Brew? ah ha! The width is getting set to max_image_width if the image is wider than max_image_width, even if the width being asked for is less than max_image_width. If the width requested in the XML is smaller than max_image_width it should be honoured. Fixed in Build: 2.1-0%{?dist}.t26 Verified that you can set an image-width smaller than 444px for an image wider than 444px in PDF in build: 2.1-0%{?dist}.t29 publican-2.2-0.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/publican-2.2-0.fc13 publican-2.2-0.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/publican-2.2-0.fc12 publican-2.2-0.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/publican-2.2-0.fc14 publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 430749 [details] docs pdf I have the image size set to width="444px" (or smaller) for every single image in chapters 2 and 5 in this PDF. Some of those sizes are honored and some, very obviously, are not. Everything is a PNG and has XML like this: <informalfigure> <mediaobject> <imageobject role="html"> <imagedata fileref="images/bundle-recipe.png" /> </imageobject> <imageobject role="fo"> <imagedata fileref="images/bundle-recipe.png" width="444px" /> </imageobject> </mediaobject> </informalfigure> I cannot find any difference between the XML or the PNGs themselves for why one image is resized and the other isn't. Normal info: RHEL 5.4 Client publican-2.1-0.el5 publican-jboss-1.9-0.el5