MARTIN Franck wrote:
Does anyone know how to draw a border around a word placed in a

The only solution working in FOP 0.20.3 seems to be to use an SVG, something like: <fo:instream-foreign-object> <svg:svg xmlns:svg="..." height="12pt" width="14em"> <svg:rect x="0" y="0" height="12pt" width="24em"/> <svg:text style="font-family: sans-serif;">Bordered stuff</svg:text> </svg:svg> </fo:instream-foreign-object>

Complete with the missing SVG namespace and fiddle a bit
with the values.

Better ways have already been suggested, for example using
fo:inline and specifying a border, but unfortunately, most
non-font properties on fo:inline are currently unimplemented.


Reply via email to