This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Attributes for figures


* Alain NAKACHE; <alain@cal.fr> on 03 Dec, 2002 wrote:
At 14:49 03/12/02 +0200, Togan Muftuoglu wrote:
Hi,
figure bitmap.

Bob Stayton pointed to me the following advice :
"You would need to customize the template named
'formal.object' in the stylesheet file fo/formal.xsl.
But you would need to learn XSL-FO in order to put
the border attributes in the right place.  Then you
have to hope that FOP can output it correctly."
but my result was to enclose the whole Block and not only the figure.
Strange I had the exact same result :-) Also fighting with FOP is
another major issue

The solution I found was to use Image Magick convert tool. The syntax :
convert -border 1x1 -bordercolor \#000 file.png result.png
The result is just as I wanted.
Looks I need to live with imagemagic too :-(

Thanks
--

Togan Muftuoglu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]