Title: textpath tries the adobe standard encoding as a default for fonts by leejjoon · Pull Request #112 · matplotlib/matplotlib · GitHub
Open Graph Title: textpath tries the adobe standard encoding as a default for fonts by leejjoon · Pull Request #112 · matplotlib/matplotlib
X Title: textpath tries the adobe standard encoding as a default for fonts by leejjoon · Pull Request #112 · matplotlib/matplotlib
Description: I found that the textpath module was not able to handle glyphs like "fi", "fl" and etc for TeX text. For example, rcParams["text.usetex"]=True t = text(0.5, 0.5, "field", size=50) from matplotlib.patheffects import withStroke t.set_path_effects([withStroke(foreground="red", linewidth=5)]) and "fi" is not displayed. The patch tries to convert the glyph id reported by the dviread module to the proper glyph id for the font to be used using the encoding information. By the way, I'm hardly an expert on this subject and I hope some one more knowledgeable than me review the patch and see if I get this right. -JJ
Open Graph Description: I found that the textpath module was not able to handle glyphs like "fi", "fl" and etc for TeX text. For example, rcParams["text.usetex"]=True t = text(0.5, 0.5, "...
X Description: I found that the textpath module was not able to handle glyphs like "fi", "fl" and etc for TeX text. For example, rcParams["text.usetex"]=True ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/112
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8226119d-1acb-5a45-cb67-7a36f43f877c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ED0E:237DC:1691C09:20B6329:6A54CFA1 |
| html-safe-nonce | 0791eefa8a5726e5b3656a043ac175af21539edce858d956147de5f307be3679 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDBFOjIzN0RDOjE2OTFDMDk6MjBCNjMyOTo2QTU0Q0ZBMSIsInZpc2l0b3JfaWQiOiIxMTgwODk1MTAwODM2MDQwNjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 391ec6ab5175c2e383b82cb909442532fe67ab049eff058c96e31cbc5def0181 |
| hovercard-subject-tag | pull_request:142857 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/112/files |
| twitter:image | https://avatars.githubusercontent.com/u/95962?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/95962?s=400&v=4 |
| og:image:alt | I found that the textpath module was not able to handle glyphs like "fi", "fl" and etc for TeX text. For example, rcParams["text.usetex"]=True t = text(0.5, 0.5, "... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 840b5d20d5a883c23cf56f5240b2c343d6cc0867 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width