Bug 798849

Summary: max_image_width: 660 ignored for PDF builds
Product: [Community] Publican Reporter: Kate Grainger <kgrainge>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED WONTFIX QA Contact: Ruediger Landmann <rlandman+disabled>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: rlandman+disabled
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-11 23:47:55 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:
Description Flags
Page overrun 1
none
Page overrun 2 none

Description Kate Grainger 2012-03-01 04:57:48 UTC
Created attachment 566743 [details]
Page overrun 1

Description of problem:
Very large (wide) images are not being scaled to fit within the page width of PDFs, even when max_image_width: 660 is set in publican.cfg.

How reproducible:
Twenty figures in the RHEV suite of books have overrun in the PDF format.

Steps to Reproduce:
1. Create a very large (wide) image and include it in your xml.
2. Generate a PDF.
3. Your page runneth over.
4. Weep, gnash teeth.

Actual results:
Figures overrun page width.

Expected results:
Figures are constrained to the max_image_width of 660px.

Additional info:
See screen shots for examples.

Comment 1 Kate Grainger 2012-03-01 04:59:12 UTC
Created attachment 566744 [details]
Page overrun 2

Comment 2 Jeff Fearn 🐞 2012-03-11 23:47:55 UTC
Image sizes above 440px are not supported when using FOP because you have to use external tools to change the image DPI or it doesn't work properly. We do not have the person power to support this kind of thing and people choosing to use it must support themselves.