Title: [Bug]: meta tables warn they cannot be subset · Issue #24025 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: meta tables warn they cannot be subset · Issue #24025 · matplotlib/matplotlib
X Title: [Bug]: meta tables warn they cannot be subset · Issue #24025 · matplotlib/matplotlib
Description: Bug summary When using custom fonts( like Times New Roman) and saving the figure as PDF(TrueType), the terminal gives a warning: "meta NOT subset; don't know how to subset; dropped" Code for reproduction import numpy as np import matplot...
Open Graph Description: Bug summary When using custom fonts( like Times New Roman) and saving the figure as PDF(TrueType), the terminal gives a warning: "meta NOT subset; don't know how to subset; dropped" Code for reprod...
X Description: Bug summary When using custom fonts( like Times New Roman) and saving the figure as PDF(TrueType), the terminal gives a warning: "meta NOT subset; don't know how to subset; dropped" C...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24025
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: meta tables warn they cannot be subset","articleBody":"### Bug summary\n\nWhen using custom fonts( like Times New Roman) and saving the figure as PDF(TrueType), the terminal gives a warning: \"meta NOT subset; don't know how to subset; dropped\"\n\n### Code for reproduction\n\n```python\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\nplt.rcParams['pdf.fonttype'] = 42\r\nplt.rcParams['font.family'] = \"Times New Roman\"\r\n\r\nx = np.arange(1,6,1)\r\ny= x**2\r\nplt.plot(x,y)\r\nplt.savefig(\"./test.pdf\")\r\n\r\nplt.show()\n```\n\n\n### Actual outcome\n\nmeta NOT subset; don't know how to subset; dropped\r\n[test.pdf](https://github.com/matplotlib/matplotlib/files/9660578/test.pdf)\r\n\n\n### Expected outcome\n\nI would like to know if the warning: \"meta NOT subset; don't know how to subset; dropped\" will affect the output figure. It would be good news for me if this warning can be figured out.\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nWindows\n\n### Matplotlib Version\n\n3.6.0\n\n### Matplotlib Backend\n\nQtAgg\n\n### Python version\n\nPython 3.9.12\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npip","author":{"url":"https://github.com/remaker789","@type":"Person","name":"remaker789"},"datePublished":"2022-09-28T01:30:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/24025/matplotlib/issues/24025"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:56e01ce2-526a-587f-266e-7a5ee3d7fefd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C304:2A0782:24A4888:31E601A:6A53A5FF |
| html-safe-nonce | 9bfeade74c0c28d45e1fa27f814058bfb2c01ad9f60d07195943b22fdba2d278 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzA0OjJBMDc4MjoyNEE0ODg4OjMxRTYwMUE6NkE1M0E1RkYiLCJ2aXNpdG9yX2lkIjoiNjcwMzU3MjYwMDc1OTc1NjI4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ae93f977aae4c823fc497a7da0d661565575bb11062f2d8385624f9f34aba148 |
| hovercard-subject-tag | issue:1388590217 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/matplotlib/matplotlib/24025/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05a0a99a4e676bb49c49f32194e4ec0ceaa7c363f1b0819100cfa02138cda7b1/matplotlib/matplotlib/issues/24025 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05a0a99a4e676bb49c49f32194e4ec0ceaa7c363f1b0819100cfa02138cda7b1/matplotlib/matplotlib/issues/24025 |
| og:image:alt | Bug summary When using custom fonts( like Times New Roman) and saving the figure as PDF(TrueType), the terminal gives a warning: "meta NOT subset; don't know how to subset; dropped" Code for reprod... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | remaker789 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width