STIX font baseline shifted in screen and png backend

Hi!

Using the STIX fonts, the baseline of mathtext glyphs is corrupt using screen backands like GTK or TK. The problem does not appear using the ps or pdf backend.
Attached is png and eps file of a semilogy plot with a mathtext xlabel. The ytick labes and the xlabel are skrewed in the png.

Best wishes! Bernhard

stix.png

stix.eps (19.1 KB)

Yeah -- the hinting doesn't seem work very well with the STIX fonts. I may need to expose an option in the font backend to turn hinting off.

Thanks for the report,
Mike

Bernhard Voigt wrote:

ยทยทยท

Hi!

Using the STIX fonts, the baseline of mathtext glyphs is corrupt using screen backands like GTK or TK. The problem does not appear using the ps or pdf backend.
Attached is png and eps file of a semilogy plot with a mathtext xlabel. The ytick labes and the xlabel are skrewed in the png.

Best wishes! Bernhard

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

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