[JPR]

Hi Wayne,

This is NOT a simple operation, for a single SVG <text> element creates a 
single line of text. It does not, AFAIK, have any way cutting text to a new 
line. CR or LF do not work. <tspan> neither. Have a look at:

https://www.safaribooksonline.com/library/view/svg-text-layout/9781491933817/ch04.html

https://www.w3.org/TR/SVG/text.html#TextElement

The solution is to cut the text into lines, get a picture from each line, and 
add these pictures below each other.

If I find e better way, I will keep you informed.

My very best,

JPR


> On 21 Feb 2017, at 12:23, [email protected] wrote:
> 
> Date: Tue, 21 Feb 2017 12:20:40 +1100
> From: Wayne Stewart <[email protected]>
> To: 4D iNug Technical <[email protected]>
> Subject: Re: JPR_Text2Pict and Objects, a perfect engagement...
> Message-ID:
>       <cabbbsymegwixxqneuchuvw0clfb9eeq0eil3xctshz1gnbc...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> Hi,
> 
> How can you embed a carriage return so you can have multiple lines?
> 
> Regards,
> 
> Wayne
> 
> 
> Wayne Stewart
> about.me/waynestewart

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to