Re: How to put text on an image?

On Tue, Apr 29 2008 07:25:16 +0100, dev@jeremias-maerki.ch wrote:
> There are various ways to do that:
> - Set a background image on a block-container and use normal fo:blocks
> inside the block-container.

Or use absolutely-positioned fo:block-container within the
fo:block-container, since the containing fo:block-container would be the
reference area.

> - You can also experiment with negative space-before lengths to achieve
> overlaying effects.
> - For more fancy text, use SVG to paint the image and the text on it.

Which is probably the best idea.

Or use multiple absolutely-positioned fo:block-container with different
z-index values.

Or as a last resort, use multiple absolutely-positioned
fo:block-container without using z-index and see if your XSL formatter
will overlay them in any useful manner.

> On 28.04.2008 21:55:25 koenIT wrote:
>> 
>> I want to place an image, and afterwards put some text on this image?
>> Somebody done this before?

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

Received on Tuesday, 29 April 2008 08:20:55 UTC