You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Vamsee Mohan K <va...@techbrix.com> on 2005/12/21 19:59:36 UTC

flowText text-decoration issues...

Hi,

I am using the flowText element (in org.apache.batik.extension.svg 
package) to paint text that wraps inside a region. When I use the 
text-decoration="underline" attribute on a flowPara, the underline is 
painted somewhere outside the region (the text, however, is painted in 
the specified region). Does anybody know of any fix for this issue?

Thanks in advance for your help.

-Vamsee Mohan

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: flowText text-decoration issues...

Posted by MaGaM <m....@rug.nl>.
Hi,

Since the start of this thread Batik has developed, including the flowing
text. Text decoration was possible, but was not correctly positioned (also
see
batik.2283329.n4.nabble.com/flowRoot-text-decoration-bug-td2975724.html). A
bug report was filed for it here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=51765. I added a patch to
fix this bug (see attachments).
Hopefully the devs will review it and incorporate it in the trunk of the
repository.

Cheers,
Mario



--
View this message in context: http://batik.2283329.n4.nabble.com/flowText-text-decoration-issues-tp2972119p4655220.html
Sent from the Batik - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: flowText text-decoration issues...

Posted by th...@kodak.com.
Hi Vamsee,

Vamsee Mohan K <va...@techbrix.com> wrote on 12/21/2005 01:59:36 PM:

> I am using the flowText element (in org.apache.batik.extension.svg 
> package) to paint text that wraps inside a region. When I use the 
> text-decoration="underline" attribute on a flowPara, the underline is 
> painted somewhere outside the region (the text, however, is painted in 
> the specified region). Does anybody know of any fix for this issue?

   There is no simple fix, sorry but the flow stuff just doesn't 
support this.  I took some time to look at this and while it
doesn't look like it's really difficult it would require some
significant rejiggering.  The upside is that this might enable
underline for text on a path ;)


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org