8000 ft2font: Split named instance count from style flags by QuLogic · Pull Request #29431 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

ft2font: Split named instance count from style flags #29431

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

Conversation

QuLogic
Copy link
Member
@QuLogic QuLogic commented Jan 8, 2025

PR summary

These are unrelated, and it breaks the enum since the instance count is outside the defined flags.

Note, tests are always 0 since we don't ship variable fonts, but I did test the example on Inter Variable and got 9 as expected.

It's a bit of an API change, but I think small enough to warrant backporting directly instead of the other options in #29396.

Fixes #29396

PR checklist

These are unrelated, and breaks the enum since the instance count is
outside the defined flags.
@QuLogic QuLogic added Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. topic: text/fonts labels Jan 8, 2025
@QuLogic QuLogic added this to the v3.10.1 milestone Jan 8, 2025
@github-actions github-actions bot added the Documentation: examples files in galleries/examples label Jan 8, 2025
@oscargus oscargus merged commit a61e118 into matplotlib:main Jan 8, 2025
44 of 47 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jan 8, 2025
@QuLogic QuLogic deleted the ft2font-instances branch January 8, 2025 09:22
oscargus added a commit that referenced this pull request Jan 8, 2025
…431-on-v3.10.x

Backport PR #29431 on branch v3.10.x (ft2font: Split named instance count from style flags)
@ksunden ksunden mentioned this pull request Mar 3, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: examples files in galleries/examples Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. topic: text/fonts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Style flag errors trying to save figures as PDF with font Inter
3 participants
0