Title: Fix rendering bug for small Chinese characters by adding FT_LOAD_NO_B… by mohit-sharma-001 · Pull Request #32072 · matplotlib/matplotlib · GitHub
Open Graph Title: Fix rendering bug for small Chinese characters by adding FT_LOAD_NO_B… by mohit-sharma-001 · Pull Request #32072 · matplotlib/matplotlib
X Title: Fix rendering bug for small Chinese characters by adding FT_LOAD_NO_B… by mohit-sharma-001 · Pull Request #32072 · matplotlib/matplotlib
Description: PR summary Why is this change necessary? / What problem does it solve? Fixes a rendering issue where small Chinese characters were loaded as pixelated embedded bitmaps instead of smooth vector outlines. What is the reasoning for this implementation? Adding the FT_LOAD_NO_BITMAP flag to FT_Load_Glyph forces the FreeType engine to ignore embedded bitmaps and use vector outlines, ensuring high-quality rendering at small font sizes. Closes #32063 AI Disclosure Yes, generative AI was used to assist in troubleshooting the FreeType flag and setting up the local build environment. PR checklist "closes #32063" is in the body of the PR description to link the related issue new and changed code is tested [N/A] Plotting related features are demonstrated in an example [N/A] New Features and API Changes are noted with a directive and release note Documentation complies with general and docstring guidelines
Open Graph Description: PR summary Why is this change necessary? / What problem does it solve? Fixes a rendering issue where small Chinese characters were loaded as pixelated embedded bitmaps instead of smooth vector out...
X Description: PR summary Why is this change necessary? / What problem does it solve? Fixes a rendering issue where small Chinese characters were loaded as pixelated embedded bitmaps instead of smooth vector out...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/32072
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3f392d8c-57ab-8d4b-85b8-3431a9977059 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9E22:16F3DB:6D932B:9C8893:6A63758E |
| html-safe-nonce | f4a4efd76df9a17a3cc0c23bbdc2135196a856394c6bf4fef2b7f6ea2e3bddb0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTIyOjE2RjNEQjo2RDkzMkI6OUM4ODkzOjZBNjM3NThFIiwidmlzaXRvcl9pZCI6IjUzNDkyNDA1Njc2MDgwNzk3NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 497185c2c3fb02130636aa62857451b7d0bf0d3ee247cb7fc7cb467840ac5fe1 |
| hovercard-subject-tag | pull_request:4085538422 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/32072/files |
| twitter:image | https://avatars.githubusercontent.com/u/261772273?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/261772273?s=400&v=4 |
| og:image:alt | PR summary Why is this change necessary? / What problem does it solve? Fixes a rendering issue where small Chinese characters were loaded as pixelated embedded bitmaps instead of smooth vector out... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 15e78334bb345f3864e70c5a376ed0383374123629b9e3022398d9431f6cd8bf |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 51da2d8d0a841a1393b806a6559fa9ad757e1666 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width