OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Problem with scaling Images


On Tue, Feb 25, 2003 at 10:21:33AM -0500, Brian Burridge wrote:
> I am including a bunch of PNG's in my DocBook, and converting the
> DocBook to PDF, using stylesheets and the Apache FOP.
> 
> But I don't understand how the iamges are being scaled. For example, I
> have two images, with section names before them. I want the images on
> the same page with the sections. The first image, which is 1256x1672,
> fits on the page nicely with the section title. But then later on in the
> document, a second image which is 824x1160, doesn't fit on the page with
> the section title. The titles are one liners and there is no other text.
> 
> Now why would the smaller image be page breaking before it, and the
> larger image not?

I have no idea.  That does seem odd.

> I've tried using contentWidth="4in" and nothing happens, and scale="75"
> and nothing happens.

The current version of FOP doesn't respond to contentwidth,
and treats the 'width' property as the 'content-width'
property.  Try setting width to some value (not %)
if you need to scale graphics for FOP.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC