matplotlib is not able to use .otf format fonts.  We bundle a version 
where they have been converted to .ttf.  We could update our code to use 
.otf fonts but it's considerable work, involving writing code on top of 
freetype to convert and subset our fonts, rather than the 15-year-old 
ttconv code we use now.

Mike

On 01/23/2014 06:00 PM, Paulo César Pereira de Andrade wrote:
>    Hi,
>
>    I asked for a bundling exception in Fedora, see
>
> https://fedorahosted.org/fpc/ticket/381
>
>    But I should only be able to get a temporary one,
> and that based on any feedback I receive here :-)
>
>    Problem is, matplotlib bundles stix fonts 1.0, and
> fedora, since fedora 18 ships stix fonts 1.1, that are
> not "really" compatible with 1.0.
>
>    I got things working for Fedora 18 by using
> "USE_FONTCONFIG = True", but, every other distro,
> probably sans Fedora spins bundles fonts and does
> not use fontconfig.
>
>    From fedora 18 to 20 several updates were made to
> fix side effects of using fontconfig, then, ultimately,
> fedora 20 was shipped with my patch to use fontconfig
> removed, because the patch was (apparently) upstreamed
> 95% workarounds to side effects of using fontconfig, but
> the change to use fontconfig removed by mistake... So,
> there is also a kind of chicken and egg problem, no
> bundling policy, and no patching (or as few as possible and
> with a good reason) policy.
>
>    I would like to have any suggestion of a very good
> reason to bundle stix fonts, or, some idea of how to
> handle it, if matplotlib cannot use fontconfig by default
> on Linux and *BSD.
>
> Thanks,
> Paulo
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


-- 
                    _
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to