What Bjoern said.

By the way, I would like to see this functionality exposed at some point in the 
future so that web-based graphical editors (like SVG-edit) can convert SVG text 
to paths...

Jeff

--- In svg-developers@yahoogroups.com, Bjoern Hoehrmann <derhoe...@...> wrote:
>
> * ddailey wrote:
> >I just can't remember. I seem to recall a DOM interface or function in
> >SVG that takes as input a character (i.e., a text string of length one)
> >rendered in a given font-family and returns the path coordinates of the
> >outline of that object. (something like "w".toPath(ariel, 100) --> "0,0
> >50,100 100,0 150,100 200,0 200,5 150,105, 100,5 50,105 0,5 z"  Certainly
> >we can get its bounding box, and certainly there are utilities in
> >Inkscape and Illustrator to do that, but how about in plain old SVG with
> >JavaScript? I would like to make some pseudo-random distortions to a
> >typeface but can't remember the command, if there ever was one. 
> 
> There is no such function in SVG 1.1 or SVG Tiny 1.2. Also note that a
> glyph is not necessarily a single path, with SVG fonts you can have more
> or less arbitrary content to make up a glyph.
> -- 
> Björn Höhrmann · mailto:bjo...@... · http://bjoern.hoehrmann.de
> Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
> 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
>




------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to