Jouni K. Sepp�nen <jks@...278...> writes:
FAIL: matplotlib.tests.test_text.test_font_styles.test
FAIL: matplotlib.tests.test_text.test_font_styles.testHow much was the difference?
Large: in all three result images, the condensed and light fonts look
the same as normal, and there are differences in kerning. It's arguably
a problem in the test that the pdf case did not fail as well, since it
had the same erroneous output.I wonder if this is a Freetype version issue...
No, it's just that I don't happen to have the DejaVuSans fonts
installed. The font selection falls back on the Bitstream Vera font
delivered with matplotlib, but from the comparison pdf file we can find
the fonts that were used to produce that pdf file, and presumably the
other files:
DejaVuSansCondensed
BitstreamVeraSans-Bold
BitstreamVeraSans-BoldOblique
DejaVuSans-ExtraLight
BitstreamVeraSans-Roman
The light and condensed fonts are DejaVuSans, which happened to be
installed on the system on which that test was created. I think the test
should only rely on the fonts delivered with matplotlib.
···
--
Jouni K. Sepp�nen