Title: Deprecate svgfont support, possibly replacing with woff? · Issue #10063 · matplotlib/matplotlib · GitHub
Open Graph Title: Deprecate svgfont support, possibly replacing with woff? · Issue #10063 · matplotlib/matplotlib
X Title: Deprecate svgfont support, possibly replacing with woff? · Issue #10063 · matplotlib/matplotlib
Description: Bug report Bug summary The svg backend currently exposes the svg.fonttype = svgfont option, which embeds fonts into the svg file using the "svg fonts" feature which appears to be essentially unsupported anywhere and removed from the svg ...
Open Graph Description: Bug report Bug summary The svg backend currently exposes the svg.fonttype = svgfont option, which embeds fonts into the svg file using the "svg fonts" feature which appears to be essentially unsupp...
X Description: Bug report Bug summary The svg backend currently exposes the svg.fonttype = svgfont option, which embeds fonts into the svg file using the "svg fonts" feature which appears to be essentia...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/10063
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate svgfont support, possibly replacing with woff?","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nThe svg backend currently exposes the svg.fonttype = svgfont option, which embeds fonts into the svg file using the \"svg fonts\" feature which appears to be essentially unsupported anywhere and removed from the svg standard (https://caniuse.com/#feat=svg-fonts https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_fonts). The code path was also not working at all on Py3 (#10046).\r\n\r\nI would thus suggest deprecating support for svg fonts.\r\n\r\nA possibility to still allow embedding the font file into the svg file would be to use the apparently more popular WOFF(2) format, see https://developer.mozilla.org/en-US/docs/Web/Guide/WOFF https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face for the format, http://www.sameratiani.com/2011/10/16/embed-inline-webfonts-in-css.html for embedding the font into the svg file itself, and https://caniuse.com/#search=woff for support. A quick test suggests that this is supported but chrome/firefox, but not by inkscape, but at least inkscape emits a warning and replaces the embedded font by another one, whereas it appears to freeze with the current implementation of svg fonts.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2017-12-20T19:06:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/10063/matplotlib/issues/10063"}
| 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:7503546d-ab61-0543-cc7e-9176eec98195 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C036:101A9F:2AC9EF:3832E0:6A52F526 |
| html-safe-nonce | 4da90724da9cc577347a39ac3d8b9e0d479e66431e00130dad5f75a8243171cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDM2OjEwMUE5RjoyQUM5RUY6MzgzMkUwOjZBNTJGNTI2IiwidmlzaXRvcl9pZCI6IjQ3NDU1ODk1NDEyODg3MzYwMzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 25cef6c43ef370fe7f55addec657b1010e5f0e89e81a01dc5ea817f44af9aba5 |
| hovercard-subject-tag | issue:283664916 |
| 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/10063/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2c8e7586ac05d3c8d16b27f432532db1fde6c7171d8b8960ebc17f87ee05c1c2/matplotlib/matplotlib/issues/10063 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2c8e7586ac05d3c8d16b27f432532db1fde6c7171d8b8960ebc17f87ee05c1c2/matplotlib/matplotlib/issues/10063 |
| og:image:alt | Bug report Bug summary The svg backend currently exposes the svg.fonttype = svgfont option, which embeds fonts into the svg file using the "svg fonts" feature which appears to be essentially unsupp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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