Jouni K. Seppänen <j...@iki.fi> writes: >>> FAIL: matplotlib.tests.test_text.test_font_styles.test >>> FAIL: matplotlib.tests.test_text.test_font_styles.test >>> >> How 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 http://www.iki.fi/jks ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel