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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: DOCBOOK: PNG scaling for XML->FO->PDF transformation


Hello,

I'm new to docbook, so my question might be a simple one.

I write docbook XML and transform it into pdf using saxon and fop (latest 
downloads). PNG files are embedded into <graphic fileref="filename.png"/> 
elements. But for some unknown reason, they are always scaled to the full 
width, except if multiple (e.g.) graphics are on the same page. But even in 
the latter case, they aren't scaled by the same factor. A small dialog will 
become just a little bit smaller than a full screenshot.

I've tried to use both, the scale and the scaletofit parameter, but nothing 
changed.

Could someone please help me, how to scale the files to be a little bit 
smaller, so they will require less space (that was my goal ;-)). Thanks in 
advance!

Cheers,
Tom



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


Powered by eList eXpress LLC