Re: [matplotlib-devel] Embedded fonts in SVG

2007-07-11 Thread Michael Droettboom
I've tested this approach with Firefox 2.0 and rsvg 2.16. The text alignment is actually much better since the text layout is fully under the control of matplotlib. This has been checked into SVN, and can be used by setting the rcparam "svg.embed_char_paths" to True. The following are my usua

Re: [matplotlib-devel] Embedded fonts in SVG

2007-07-10 Thread Michael Droettboom
Actually, it just occurred to me that you could use 'defs' and 'use' to define characters as paths and reuse them. And that's something that works today in virtually any SVG renderer. It totally blitzes the logical representation of the text (i.e. searching and copying as text etc.), but if it

Re: [matplotlib-devel] Embedded fonts in SVG

2007-07-10 Thread Carl Worth
On Tue, 10 Jul 2007 13:43:49 -0400, Michael Droettboom wrote: > "major SVG renderers" support seems to be the issue at first glance. > None of the big open source options -- Firefox, inkscape, rsvg -- seem > to support it. That's my understanding as well. > Until there's something readily availab

Re: [matplotlib-devel] Embedded fonts in SVG

2007-07-10 Thread Michael Droettboom
John Hunter wrote: > On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: >> Has anyone looked into embedding fonts in SVG files? > > It's definitely come up before. Paul Barret may have had a look at > it. I'm not sure why we ended up not doing it. You can search the > archives if you are

Re: [matplotlib-devel] Embedded fonts in SVG

2007-07-10 Thread John Hunter
On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Has anyone looked into embedding fonts in SVG files? That might > alleviate some of the installation problems that were recently mentioned > on the matplotlib-users list. > > The relevant spec: > > http://www.w3.org/TR/SVG11/fonts.html >

[matplotlib-devel] Embedded fonts in SVG

2007-07-10 Thread Michael Droettboom
Has anyone looked into embedding fonts in SVG files? That might alleviate some of the installation problems that were recently mentioned on the matplotlib-users list. The relevant spec: http://www.w3.org/TR/SVG11/fonts.html If there are no plans under way, I may have a crack at it, since I'm