On 2/21/07, Jouni K. Seppänen <[EMAIL PROTECTED]> wrote:
> > Have you had time to look at my patch regarding the PDF backend? :-)
>
> A bit, and I couldn't quite get it to work. But what the heck, let's
> put it in the repository so we can all hack on it. It is quite an
> improvement to the backend, and it doesn't seem to break anything that
> used to work. (I ran the examples using backend_driver.py on both agg
> and pdf.) Your patch (slightly modified) is committed as of svn
> revision 3027.

Thanks Jouni for committing this patch.

Now, I'm working on the two issues you've mentioned below. I'll
probably send a new patch fixing the font issue in the next few days.

> The problem I'm having is that if I set use14corefonts on, I have to
> make sure that Helvetica (or whatever) is chosen as the text font.
> I used to have the setting
>
> font.sans-serif     : Bitstream Vera Sans
>
> because that font works, and some other fonts that mpl finds (on my
> OS X system) don't; but then setting use14corefonts on caused the afm
> header parser to be called on Vera.ttf, which it obviously couldn't
> make any sense of. I'm not sure I quite understand the Matplotlib font
> selection system, though.
>
> Replacing the setting by
>
> font.sans-serif     : Helvetica, Bitstream Vera Sans
>
> helps, but it would be nice to put in some sanity checks so that we
> don't send the ttf file to the afm parser.
>
> On another note, the dpi setting was used for images. Removing it does
> make the code simpler, but then all images will be at a resolution of
> 72 dpi. Can you be more specific about the problems that the dpi
> setting was causing? Anyway, perhaps we should find a better interface
> for specifying image resolution for vectorial backends.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to