You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by pa...@free.fr on 2008/04/21 15:32:38 UTC
How to underline a graphic
Hello,
I insert a little graphic in an underlined text but it is not underlined.
<fo:block text-decoration="underline">
Text is underlined <fo:external-graphic src="logo.png"
content-height="1.5em"/> but not graphic.
</fo:block>
I think it is normal because I find nothing in the W3C specification to
underline fo:external-graphic.
(fo:inline / fo:page-number / fo:page-number-citation / fo:character can be
underlined but fo:leader / fo:external-graphic can not)
But can somebody give me a way to have the same rendering as "an underlined
graphic" ?
Thanks,
Patrice
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: How to underline a graphic
Posted by Peter Coppens <pc...@gmail.com>.
Perhaps border properties could help you achieve what you want?
On 21 Apr 2008, at 15:32, patrice.rosnet@free.fr wrote:
>
> Hello,
>
> I insert a little graphic in an underlined text but it is not
> underlined.
>
> <fo:block text-decoration="underline">
> Text is underlined <fo:external-graphic src="logo.png"
> content-height="1.5em"/> but not graphic.
> </fo:block>
>
> I think it is normal because I find nothing in the W3C specification
> to
> underline fo:external-graphic.
> (fo:inline / fo:page-number / fo:page-number-citation / fo:character
> can be
> underlined but fo:leader / fo:external-graphic can not)
>
> But can somebody give me a way to have the same rendering as "an
> underlined
> graphic" ?
>
> Thanks,
> Patrice
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: How to underline a graphic
Posted by Jay Bryant <ja...@bryantcs.com>.
I would try setting the bottom border on the fo:block, thus:
<fo:block border-bottom="1pt solid black">Text and graphic here</fo:block>
Jay Bryant
----- Original Message -----
From: <pa...@free.fr>
To: <pa...@free.fr>
Cc: <fo...@xmlgraphics.apache.org>
Sent: Monday, April 21, 2008 8:32 AM
Subject: How to underline a graphic
>
> Hello,
>
> I insert a little graphic in an underlined text but it is not underlined.
>
> <fo:block text-decoration="underline">
> Text is underlined <fo:external-graphic src="logo.png"
> content-height="1.5em"/> but not graphic.
> </fo:block>
>
> I think it is normal because I find nothing in the W3C specification to
> underline fo:external-graphic.
> (fo:inline / fo:page-number / fo:page-number-citation / fo:character can
> be
> underlined but fo:leader / fo:external-graphic can not)
>
> But can somebody give me a way to have the same rendering as "an
> underlined
> graphic" ?
>
> Thanks,
> Patrice
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org