Title: BUG: .notdef glyph has to be present in fonts in fontlist · Issue #27232 · matplotlib/matplotlib · GitHub
Open Graph Title: BUG: .notdef glyph has to be present in fonts in fontlist · Issue #27232 · matplotlib/matplotlib
X Title: BUG: .notdef glyph has to be present in fonts in fontlist · Issue #27232 · matplotlib/matplotlib
Description: > This also happens with the xkcd plotting style using the "Humor Sans" font. So uh, this is why #26854 is failing (the plt.xkcd examples seem to work because they don't have a negative in the labels anywhere): throws "glyph missing" war...
Open Graph Description: > This also happens with the xkcd plotting style using the "Humor Sans" font. So uh, this is why #26854 is failing (the plt.xkcd examples seem to work because they don't have a negative in the labe...
X Description: > This also happens with the xkcd plotting style using the "Humor Sans" font. So uh, this is why #26854 is failing (the plt.xkcd examples seem to work because they don't have a neg...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27232
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BUG: .notdef glyph has to be present in fonts in fontlist","articleBody":" \u003e This also happens with the xkcd plotting style using the \"Humor Sans\" font.\r\n\r\nSo uh, this is why #26854 is failing (the plt.xkcd examples seem to work because they don't have a negative in the labels anywhere): throws \"glyph missing\" warning for title, omits hyphen for ticks:\r\n\r\n\r\n_Originally posted by @story645 in https://github.com/matplotlib/matplotlib/issues/17007#issuecomment-1786319109_\r\n\r\nper the discussion downthread, if a font does not have a designated [.notdef](https://en.wikipedia.org/wiki/Unicode_input#Availability) then the missing glyph character (the .notdef) is not rendered.\r\n\r\n# Suggested Fix\r\nFor this one character, we should have a fallback such that we always render some glyph when a glyph is not found. This is particularly because of situations like the missing - at the front of a text, where it may be easy to miss that it's missing.","author":{"url":"https://github.com/story645","@type":"Person","name":"story645"},"datePublished":"2023-10-31T04:46:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/27232/matplotlib/issues/27232"}
| 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:a0ceb1e8-caa4-6c82-e10a-fa482dcf4742 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9C0:1E565C:8D996D:BE3150:6A529033 |
| html-safe-nonce | 54ca0b253f1e7ee7ae220f9cde5d726670b1aa5cc84c12f94cc5c9b98b703077 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUMwOjFFNTY1Qzo4RDk5NkQ6QkUzMTUwOjZBNTI5MDMzIiwidmlzaXRvcl9pZCI6IjI1NjA5NDYyMjcwODU3NDIxMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a8428333fa6e86be17f9315288fd34997b51796aceed4b843a0f87d024dc731c |
| hovercard-subject-tag | issue:1969634733 |
| 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/27232/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b043dcf9b103c321d8eabdecc9d8245b0b9857a1b2790eab3d8990043af2149a/matplotlib/matplotlib/issues/27232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b043dcf9b103c321d8eabdecc9d8245b0b9857a1b2790eab3d8990043af2149a/matplotlib/matplotlib/issues/27232 |
| og:image:alt | > This also happens with the xkcd plotting style using the "Humor Sans" font. So uh, this is why #26854 is failing (the plt.xkcd examples seem to work because they don't have a negative in the labe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | story645 |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width