Using anything but the CM and STIX fonts in mathtext ultimately leads to
a world of pain and I consider it "unsupported", because there are
custom tweaks to get the alignment working that end up being missing.
However, if you really want to try it you can set the following rcParams:
mathtext
>> I would like to use .otf fonts for typesetting text (axes, titles,
>> labels,
>> legends, ...) in matplotlib. Is this possible? If yes, how?
> Yes. Put the font somewhere in your font search path. (Where that
> would be depends on your platform, but for user-local fonts, use
> "~/.fonts" on Li
On 10/10/2011 08:25 AM, Andreas H. wrote:
> Hi,
>
> I would like to use .otf fonts for typesetting text (axes, titles, labels,
> legends, ...) in matplotlib. Is this possible? If yes, how?
Yes. Put the font somewhere in your font search path. (Where that
would be depends on your platform, but fo