Skip to content

Make PdfFile font-related attributes private.#30027

Merged
jklymak merged 1 commit into
matplotlib:mainfrom
anntzer:pfp
May 8, 2025
Merged

Make PdfFile font-related attributes private.#30027
jklymak merged 1 commit into
matplotlib:mainfrom
anntzer:pfp

Conversation

@anntzer

@anntzer anntzer commented May 8, 2025

Copy link
Copy Markdown
Contributor

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

timhoffm commented May 8, 2025

Copy link
Copy Markdown
Member

@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.

@timhoffm timhoffm left a comment

Copy link
Copy Markdown
Member

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

jklymak commented May 8, 2025

Copy link
Copy Markdown
Member

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