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

Skip to content

Clean up AFM code #30121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2025
Merged

Clean up AFM code #30121

merged 1 commit into from
May 31, 2025

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented May 29, 2025

PR summary

Since AFM is now private (though for some reason still in the docs), we can delete unused methods without deprecation.

Additionally, add AFM.get_glyph_name so that the PostScript mathtext code doesn't need to special case AFM files.

PR checklist

Copy link
Contributor

@anntzer anntzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a minor suggestion.

Since AFM is now private, we can delete unused methods without
deprecation.

Additionally, add `AFM.get_glyph_name` so that the PostScript mathtext
code doesn't need to special case AFM files.
@oscargus oscargus added this to the v3.11.0 milestone May 31, 2025
@oscargus oscargus merged commit 2a82d0c into matplotlib:main May 31, 2025
40 checks passed
@QuLogic QuLogic deleted the afm-cleanup branch June 1, 2025 01:08
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.

3 participants