I'm moving this over to matplotlib-devel for the time being. There are a
couple of technical details I need to discuss that dont need to be broadcast
to matplotlib-user's 384 (!) subscribers. We are discussing how usetex
handles different font families.
Darren Dale wrote:
> Earlier this morning I changed the wiki page to explain this detail. Is
> it still unclear?
mmh. Perhaps a little summary table of the kind
font.family || font.latex.package || resulting font
serif || various options
Might help the dense amongst us make sense of the various possible results
without having to think, something at least I am not very good at.
I'm pretty dense even after my third cup of coffee.
The table may not be necessary: I just discovered that we can drop the
font.latex.package rc setting, and instead respect the serif,
font.sans-serif, cursive and monospace font rc settings.
For example, if "times" is first in my font.serif list (or the first one found
that latex supports), this command can be run:
but if font.family is cursive in rc, then Zapf Chancery (pzc) is used instead.
Which entry in matplotlibrc should correspond to the computer modern fonts? Is
it "serif" for font.serif?
Also, I would like to drop support for the tex engine, and focus on latex
only. These font issues we are addressing are beyond my ability (and
interest) to support with tex, but they can be handled using the available
font packages with latex. Objections?
John, I learned today how to properly scale fonts, which might fix some of the
problems people have reported with text that is not being placed properly. It
requires using at least the scalefnt and fix-cm packages. I believe they are
included in every latex distribution. We currently do 10pt in latex, and then
scale everything afterwards, because that was the only way it seemed to work.
What we should do is just scale the fonts in latex and then we dont have to
monkey with the results. Do you object to this change?
On Sunday 29 January 2006 4:07 pm, you wrote: