Hi Thomas,

I finally got it. Thank you very much. And as you said it has much more capabilities. Very interesting.

As a side note I have notice something strange with the flowText5.svg example.

If you set any of its flowRegion font-size to less than 9.8 everything on the 'page' disappears when viewing with squiggle.

Oscar


[EMAIL PROTECTED] wrote:
Hi Oscar,

Oscar Picasso <[EMAIL PROTECTED]> wrote on 01/21/2006 02:11:47 PM:

> I'm sorry but it still don't get it. See below.
>
> [EMAIL PROTECTED] wrote:
> [...]
> You should look at
> batik.dom.svg12.SVGOMFlow(Div|Para|Line|Span)Element,
> if you are using the proprietary batik.extension.svg.FlowTextElement I
> would suggest that the newer flow stuff is in general _much_ more
capable.
> [...]

> I build my DOM from an SVG file which contains flowText elements.

In on of the SVG 1.2 draft they introduce a group of elements for
flowing text. Take a look at samples/tests/spec12/text for examples
of how to use these elements.

> If I don't set a version attribute in the svg element the flow elements
are
> from the org.apache.batik.extension.svg package.

This is a fore-runner of the SVG 1.2 stuff. The only thing this does
better is vertical alignment - but that is because it only supports
flowing into rectangles.

> How do I go from there to
batik.dom.svg12.SVGOMFlow(Div|Para|Line|Span)Element?

If you use the SVG flowRoot element (in the svg namespace with
version="1.2")
then your elements will be the above with the TextContent interfaces.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

Reply via email to