Thanks to visit codestin.com
Credit goes to github.com

Skip to content

matplotlib.tests.test_text.test_font_styles fails when DejaVuSans not installed #488

Closed
@jkseppan

Description

@jkseppan

The test case matplotlib.tests.test_text.test_font_styles includes reference files with some text set in a light font and some text in a condensed font. On my system both examples are set in a normal font, causing the test to fail. Investigation of the reference file font_styles.pdf (uncompressing with pdftk and grepping for BaseFont) shows that the fonts included in it are

DejaVuSansCondensed
BitstreamVeraSans-Bold
BitstreamVeraSans-BoldOblique
DejaVuSans-ExtraLight
BitstreamVeraSans-Roman

To be portable, the test should only rely on fonts that are delivered with matplotlib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions