Title: Light font variants cannot be accessed by common name · Issue #4822 · matplotlib/matplotlib · GitHub
Open Graph Title: Light font variants cannot be accessed by common name · Issue #4822 · matplotlib/matplotlib
X Title: Light font variants cannot be accessed by common name · Issue #4822 · matplotlib/matplotlib
Description: The following Ubuntu fonts are installed on my system: /home/edwin/.fonts/Ubuntu-LI.ttf: Ubuntu,Ubuntu Light:style=Light Italic,Italic /home/edwin/.fonts/Ubuntu-L.ttf: Ubuntu,Ubuntu Light:style=Light,Regular /home/edwin/.fonts/Ubuntu-M.t...
Open Graph Description: The following Ubuntu fonts are installed on my system: /home/edwin/.fonts/Ubuntu-LI.ttf: Ubuntu,Ubuntu Light:style=Light Italic,Italic /home/edwin/.fonts/Ubuntu-L.ttf: Ubuntu,Ubuntu Light:style=Lig...
X Description: The following Ubuntu fonts are installed on my system: /home/edwin/.fonts/Ubuntu-LI.ttf: Ubuntu,Ubuntu Light:style=Light Italic,Italic /home/edwin/.fonts/Ubuntu-L.ttf: Ubuntu,Ubuntu Light:style=Lig...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4822
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Light font variants cannot be accessed by common name","articleBody":"The following Ubuntu fonts are installed on my system:\n\n```\n/home/edwin/.fonts/Ubuntu-LI.ttf: Ubuntu,Ubuntu Light:style=Light Italic,Italic\n/home/edwin/.fonts/Ubuntu-L.ttf: Ubuntu,Ubuntu Light:style=Light,Regular\n/home/edwin/.fonts/Ubuntu-M.ttf: Ubuntu,Ubuntu Light:style=Medium,Bold\n/home/edwin/.fonts/Ubuntu-BI.ttf: Ubuntu:style=Bold Italic\n/home/edwin/.fonts/Ubuntu-RI.ttf: Ubuntu:style=Italic\n/home/edwin/.fonts/Ubuntu-R.ttf: Ubuntu:style=Regular\n/home/edwin/.fonts/Ubuntu-MI.ttf: Ubuntu,Ubuntu Light:style=Medium Italic,Bold Italic\n/home/edwin/.fonts/Ubuntu-B.ttf: Ubuntu:style=Bold\n```\n\nUbuntu Light is shown with two family names: Ubuntu and Ubuntu Light. In XeTeX I can select the font directly by naming Ubuntu Light, but I cannot do the same in matplotlib:\n\n```\nmatplotlib.rcParams['font.family'] = 'Ubuntu Light'\n```\n\nInstead, I must use a more obscure (albeit more technically correct) method:\n\n```\nmatplotlib.rcParams['font.family'] = 'Ubuntu'\nmatplotlib.rcParams['font.weight'] = 200\n```\n\nIt would be convenient if Ubuntu Light could be addressed directly by its 'common' name.\n","author":{"url":"https://github.com/EdwinChan","@type":"Person","name":"EdwinChan"},"datePublished":"2015-07-29T20:05:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/4822/matplotlib/issues/4822"}
| 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:81633c23-78db-b486-2234-e9401aa0400a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF28:BBD55:25737:32B36:6A523FB5 |
| html-safe-nonce | eb1c7b679befd743ad9ec66084b88888a32aff2fb0e956c55e8aae49bd5b22a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjI4OkJCRDU1OjI1NzM3OjMyQjM2OjZBNTIzRkI1IiwidmlzaXRvcl9pZCI6IjQ3MDI1NTIyMTY2MzYxMTI4MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e0d6e249144430a0036cbff2abba0acd434cfdcc44b18945bf88322fa8eeb7da |
| hovercard-subject-tag | issue:98019062 |
| 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/4822/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a33d57cddf8a9971ee2f433e1f0d48d2eaf26a8db9cda2c727830c6e2105338/matplotlib/matplotlib/issues/4822 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a33d57cddf8a9971ee2f433e1f0d48d2eaf26a8db9cda2c727830c6e2105338/matplotlib/matplotlib/issues/4822 |
| og:image:alt | The following Ubuntu fonts are installed on my system: /home/edwin/.fonts/Ubuntu-LI.ttf: Ubuntu,Ubuntu Light:style=Light Italic,Italic /home/edwin/.fonts/Ubuntu-L.ttf: Ubuntu,Ubuntu Light:style=Lig... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EdwinChan |
| 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