svg fonts and mathtext

Paul Kienzle wrote:
> I was going to check if this also fixed the dot on the 'i' in sin as
> well as the equals sign,

FWIW, it did for me in Inkscape.

And for me in Safari.

Note: Adobe SVGViewer doesn't see the embedded fonts, but it works if I
have the fonts installed. Oh, well!

> but I get the following:
>
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py", line 616, in _get_info
> raise ValueError('unrecognized symbol "%s"' % sym)
> ValueError: unrecognized symbol "\sin"

Strange. My recent bugfixes shouldn't have affected that file.

That line number doesn't match up with what I have in svn trunk.
Perhaps you somehow have reverted to an older version...?

Oops ... my error. I modified PYTHONPATH in bashrc but didn't
refresh my terminals.

  - Paul

···

On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom wrote:

Paul Kienzle wrote:

···

On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom wrote:

Paul Kienzle wrote:

Note: Adobe SVGViewer doesn't see the embedded fonts, but it works if I
have the fonts installed. Oh, well!

With the embedded fonts, you mean the text just doesn't show up at all? Do you know if the SVG output from Cairo works with Adobe? They use a similar (but not identical) approach to embedding the character outlines.

Cheers,
Mike

--
Michael Droettboom
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA