>>>>> "Seweryn" == Seweryn Kokot <[EMAIL PROTECTED]> writes:

    Seweryn> Hello, Since I have problems with unicode conversion when
    Seweryn> using wxagg and gtkagg backends I would like to ask which
    Seweryn> files in matplotlib sources are responsible for this?  To
    Seweryn> understand the mechanism, if in the figure I get empty
    Seweryn> squares instead of special characters where is the
    Seweryn> problem: in the phase of processing a text by antigrain
    Seweryn> or earlier?

All of the font rendering happens in src/ft2font.cpp, where the
freetype file is loaded, the glyphs set, and rendered to a pixel buffer.
agg just copies the bitmap into its own pixel buffer.  So ft2font is
the place to look.  Squares typically mean that the character you are
requesting is not in the font file you have loaded.

JDH

-------------------------------------------------------------------------
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to