On 7/10/07, Edin Salkovic <[EMAIL PROTECTED]> wrote:
> On 7/10/07, John Hunter <[EMAIL PROTECTED]> wrote:
> > Hey Edin, if you get a minute, could you contribute a patch against
> > the faq in htdocs/faq.html.template explaining how to install the
> > bakoma fonts for svg viewers?  Is this sufficiently difficult that it
> > merits a FAQ?
>
> It sure is easy to forget :)
>
> Attached is the patch to the FAQ.  I don't have the htdocs dir checked
> out.  John, can you apply the patch?

Thanks to Michael Droettboom fonts can now be embedded in the SVG file.

See:
http://www.nabble.com/Embedded-fonts-in-SVG-t4057222.html
http://comments.gmane.org/gmane.comp.python.matplotlib.devel/2944

I also updated the FAQ.

Index: faq.html.template
===================================================================
--- faq.html.template   (revision 3500)
+++ faq.html.template   (working copy)
@@ -977,6 +977,23 @@
 docs</a> for details.
 """ ),

+ ('SVG-BAKOMA-FONTS-MATHTEXT',
+      "My SVG viewer doesn't properly display special (TeX) characters
+      ('\sum', '\infty',etc.) generated by mathtext.  Is this a bug?",
+    """
+You need to install the BaKoMa fonts (TrueType version of the Computer
+Modern fonts) on your system. The BaKoMa fonts come packaged with
+matplotlib.  They are located in the
+"site-packages/matplotlib/mpl-data/fonts/ttf" dir (the cm*.ttf files).
+Installation of the fonts varies from OS to OS.
+
+Alternatively, as of r3498 (matplotlib > 0.90.1) you can set
+svg.embed_char_paths to True in your matplotlibrc file.  This
+setting makes matplotlib embed all fonts as paths in the SVG file,
+which results in a "portable" SVG file, at the cost of bigger file
+size and uneditable text.
+""" ),
+
       ('LEAKS',
        'matplotlib appears to be leaking memory, what should I do?',
 """\

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to