Skip to content

Make PdfFile font-related attributes private. #30027

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 8, 2025
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented May 8, 2025

They are clearly intended for internal use, and we may want to change their internal representation in the future to support xetex/luatex (which expose more font types).

PR summary

PR checklist

@timhoffm
Copy link
Member

timhoffm commented May 8, 2025

@anntzer please rerun. The test issues come from a broken snowballstemmer release 3.0.0, which now has been yanked and a fixed version published.

Copy link
Member

@timhoffm timhoffm left a comment

Choose a reason for hiding this comment

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

People could have overwritten the attributes, for which this is not backwards compatible (no property setter). But I regard this as highly unlikely so that I'm ok with this as is.

They are clearly intended for internal use, and we may want to change
their internal representation in the future to support xetex/luatex
(which expose more font types).
@jklymak
Copy link
Member

jklymak commented May 8, 2025

GitHub seems to be having problems (at least for me). Feel free to self merge

@jklymak jklymak merged commit 99a521b into matplotlib:main May 8, 2025
40 checks passed
@anntzer anntzer deleted the pfp branch May 8, 2025 16:41
@tacaswell tacaswell added this to the v3.11.0 milestone May 8, 2025
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.

4 participants