Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix glyph loading in textpath.#14156

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jklymak merged 1 commit intomatplotlib:masterfromanntzer:texenc
May 7, 2019
Merged

Conversation

anntzer
Copy link
Contributor

@anntzeranntzer commentedMay 7, 2019
edited
Loading

I missed the fact thatenc is now a list, not a mapping anymore (and
glyph is still an index), so theglyph in enc check does not make
sense anymore.

(Edit: looks like this was an incorrect last-minute partial revert after a review:#12928 (comment).)

This fixes test_backend_svg::test_unicode_won, which previously failed
if run by itself but curiously would not fail when run with the rest
of the test suite.

followup to#12928; I'm going to mark this as release critical as#12928 is basically wrong without this but feel free to untag.

there's a test in the followup PR,#14159.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

I missed the fact that `enc` is now a list, not a mapping anymore (and`glyph` is still an index), so the `glyph in enc` check does not makesense anymore.This fixes test_backend_svg::test_unicode_won, which previously failed*if run by itself* but curiously would not fail when run with the restof the test suite.
@anntzeranntzer added the Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labelMay 7, 2019
@anntzeranntzer added this to thev3.1.0 milestoneMay 7, 2019
@jklymakjklymak merged commitaf33de4 intomatplotlib:masterMay 7, 2019
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMay 7, 2019
@anntzeranntzer deleted the texenc branchMay 7, 2019 22:03
dstansby added a commit that referenced this pull requestMay 8, 2019
…156-on-v3.1.xBackport PR#14156 on branch v3.1.x (Fix glyph loading in textpath.)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
backend: svgRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: text/usetex
Projects
None yet
Milestone
v3.1.0
Development

Successfully merging this pull request may close these issues.

3 participants
@anntzer@jklymak@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp