Skip to content

[Bug]: Cairo backends don't render italic text #28452

Open
@QuLogic

Description

@QuLogic

Bug summary

The anatomy example uses italic text for its annotations. When running with TkCairo (or any other Cairo-based backend), this text is just upright.

Code for reproduction

MPLBACKEND=TkCairo python galleries/examples/showcase/anatomy.py

Actual outcome

Figure_1

Expected outcome

Figure_1

Additional information

No response

Operating system

Fedora 40

Matplotlib Version

d7d1bba

Matplotlib Backend

TkAgg/TkCairo

Python version

3.12.3

Jupyter version

n/a

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions