Title: Please add support for ttc font files (PDF/PS output) · Issue #3135 · matplotlib/matplotlib · GitHub
Open Graph Title: Please add support for ttc font files (PDF/PS output) · Issue #3135 · matplotlib/matplotlib
X Title: Please add support for ttc font files (PDF/PS output) · Issue #3135 · matplotlib/matplotlib
Description: The code posted below will return the following: RuntimeError: TrueType font is missing table . It looks like TTC files have replaced TTF files for many fonts in Windows 8. Please consider adding support. Thanks so much, MJ import matplo...
Open Graph Description: The code posted below will return the following: RuntimeError: TrueType font is missing table . It looks like TTC files have replaced TTF files for many fonts in Windows 8. Please consider adding s...
X Description: The code posted below will return the following: RuntimeError: TrueType font is missing table . It looks like TTC files have replaced TTF files for many fonts in Windows 8. Please consider adding s...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3135
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Please add support for ttc font files (PDF/PS output)","articleBody":"The code posted below will return the following: _RuntimeError: TrueType font is missing table_ . It looks like TTC files have replaced TTF files for many fonts in Windows 8. Please consider adding support. Thanks so much,\n\nMJ\n\n``` python\nimport matplotlib.pyplot as PLT\nimport pylab as PYLAB\nfrom matplotlib.backends.backend_pdf import PdfPages as PDF\nimport matplotlib.font_manager as fm\n\nfontFile = r'C:\\Windows\\Fonts\\msyh.ttc'\nfp1 = fm.FontProperties(fname=fontFile)\n\nreportFile = r'C:\\Temp\\TestUnicodeJA.pdf'\npdfOutput = PDF(reportFile)\nvals = range(100)\n\nPLT.plot(vals, vals, color = \"r\", linestyle = \"-\")\nmess = u'\\u30c7\\u30fc\\u30bf\\u3092\\u8aad\\u307f\\u8fbc\\u3093\\u3067\\u3044\\u307e\\u3059....'\nPYLAB.xlabel(mess, fontproperties = fp1)\nPLT.savefig(pdfOutput, format='pdf')\nPLT.close()\npdfOutput.close()\n```\n","author":{"url":"https://github.com/mjanikas","@type":"Person","name":"mjanikas"},"datePublished":"2014-06-13T16:21:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/3135/matplotlib/issues/3135"}
| 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:f3285e5f-ea46-6841-8ddb-380dcb27d7aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94EE:34F6B9:3F1541:5368C1:6A51C3F9 |
| html-safe-nonce | 0bd476273568e1f95c97a8546380de46909678f9befcc9a2c4110c8e17a4f5d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEVFOjM0RjZCOTozRjE1NDE6NTM2OEMxOjZBNTFDM0Y5IiwidmlzaXRvcl9pZCI6IjQ4OTA2MTQxOTcyNzkzNzYzNzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 67c324cc2c082eb1eb2fecfdb3251dded64ea1003ef33df00965045732954ee6 |
| hovercard-subject-tag | issue:35685891 |
| 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/3135/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ddcaeceaa99e7b031a6d7a6b6100f4a2ed96125d393a027a9a440f2e7afaaad/matplotlib/matplotlib/issues/3135 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ddcaeceaa99e7b031a6d7a6b6100f4a2ed96125d393a027a9a440f2e7afaaad/matplotlib/matplotlib/issues/3135 |
| og:image:alt | The code posted below will return the following: RuntimeError: TrueType font is missing table . It looks like TTC files have replaced TTF files for many fonts in Windows 8. Please consider adding s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mjanikas |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width