Skip to content

Font found via FontManager.find_font() but not when using it in Figure.text() #13810

Open
@timhoffm

Description

@timhoffm

Bug report

Bug summary

Font found via FontManager.find_font() but not when using it in Figure.text()

image

Code for reproduction

For easier testing. Same as the screenshot above.

import matplotlib.pyplot as plt
from matplotlib.font_manager import FontManager, FontProperties
mgr = FontManager()
mgr.findfont(FontProperties(family='Calibri'))
fig = plt.figure()
fig.text(0.5, 0.5, 'matplotlib', fontfamily='Calibri')

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepItems to be ignored by the “Stale” Github Actiontopic: text/fonts

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions