Skip to content

When loading a glyph fails, try again with the auto-hinter - #32651

Open
iccir wants to merge 1 commit into
matplotlib:mainfrom
iccir:auto-hint-fallback
Open

iccir wants to merge 1 commit into
matplotlib:mainfrom
iccir:auto-hint-fallback

Conversation

@iccir

@iccir iccir commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

PR summary

If an error occurs loading a glyph and the font's native hinter was used, try again use the FT2 auto hinter.

Closes #32650

AI Disclosure

None used.

PR quality check

  • Use an expressive title, e.g. "Fix title font property precedence"
  • New and changed code is tested
  • [/] Plotting related features are demonstrated in an example
  • [/] New features and API changes have release notes
  • [/] Documentation complies with general and docstring guidelines

@iccir
iccir force-pushed the auto-hint-fallback branch from 3dc5e1b to 6935d22 Compare November 23, 2026 16:26
@iccir
iccir marked this pull request as ready for review November 23, 2026 16:29

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: savefig to PNG raises 'failed to load glyph' for small text in macOS Helvetica (Regular) with matplotlib 3.11.0 and 3.11.2

1 participant