René's URL Explorer Experiment


Title: [Bug]: Font fallback bugs · Issue #32063 · matplotlib/matplotlib · GitHub

Open Graph Title: [Bug]: Font fallback bugs · Issue #32063 · matplotlib/matplotlib

X Title: [Bug]: Font fallback bugs · Issue #32063 · matplotlib/matplotlib

Description: Bug summary If the global font size is set with plt.rcParams["font.size"] and the size value >12, the Chinese charaters will show, else the Chinese characteres will disappear. Code for reproduction import numpy as np import matplotlib.py...

Open Graph Description: Bug summary If the global font size is set with plt.rcParams["font.size"] and the size value >12, the Chinese charaters will show, else the Chinese characteres will disappear. Code for reproduction...

X Description: Bug summary If the global font size is set with plt.rcParams["font.size"] and the size value >12, the Chinese charaters will show, else the Chinese characteres will disappear. Code for...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/32063

X: @github

direct link

Domain: Github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Font fallback bugs","articleBody":"### Bug summary\n\nIf the global font size is set with plt.rcParams[\"font.size\"] and the size value \u003e12, the Chinese charaters will show, else the Chinese characteres will disappear.\n\n\n\n\n### Code for reproduction\n\n```Python\nimport numpy as np\nimport matplotlib.pyplot as plt\n\nplt.rcParams[\"font.family\"] = [\"Times New Roman\", \"SimSun\"]\nplt.rcParams[\"font.serif\"] = [\"Times New Roman\", \"SimSun\"]\nplt.rcParams[\"font.sans-serif\"] = [\"Times New Roman\", \"SimSun\", \"Arial\", \"SimHei\"]\n\nplt.rcParams[\"mathtext.fontset\"] = \"custom\"\nplt.rcParams[\"axes.unicode_minus\"] = False\nplt.rcParams[\"font.size\"] = 13  # If font size \u003c= 12, the Chinese characters will not show.\n\nx = np.array([1, 2, 3, 4, 5])\ny = np.array([1, 4, 9, 16, 25])\n\nplt.plot(x, y)\nplt.xlabel('X-axis / X 轴')\nplt.ylabel('Y-axis / Y 轴')\nplt.title('Font Style Example / 字体样式示例')\nplt.show()\n```\n\n### Actual outcome\n\n\"# plt.rcParams[\"font.size\"] = 13\" \n\n\u003cimg width=\"639\" height=\"558\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/a83eec59-8d29-47d7-b028-1374a4776676\" /\u003e\n\n\n\"plt.rcParams[\"font.size\"] = 13\" \n\u003cimg width=\"836\" height=\"848\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/43a1ac15-1ace-4da3-9f89-83579bee860b\" /\u003e\n\n### Expected outcome\n\nFont fallback can work correctly. The text containing Chinese characters and Non-Chinese characters can be diplayed with SimSun font and Time New Roman font, respectively.\n\n### Additional information\n\nFont fallback is incompatible for SimSun and Times New Roman fonts.\n\n### Operating system\n\nWindows\n\n### Matplotlib Version\n\n3.11.0\n\n### Matplotlib Backend\n\ntkagg\n\n### Python version\n\n3.14.6\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nuv","author":{"url":"https://github.com/dragoneptech","@type":"Person","name":"dragoneptech"},"datePublished":"2026-07-18T10:23:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/32063/matplotlib/issues/32063"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4597dc16-6246-c1a5-686b-74177a2c21a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB6B6:DA2D0:BC11A8:10DCAF4:6A631CD5
html-safe-nonceee627f4ea4ab5915d3ab7e6c3abeb75a94e078afdbaef08158f4dede8cc45f8c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkI2OkRBMkQwOkJDMTFBODoxMERDQUY0OjZBNjMxQ0Q1IiwidmlzaXRvcl9pZCI6Ijc1OTIyMjMyOTQ0NzA5NTQxOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd6c9d67d7904bdc9186bcec633f66d94edfabeb9e64d84c2d7ee57dfc07d51fd
hovercard-subject-tagissue:4917856319
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/32063/issue_layout
twitter:imagehttps://opengraph.githubassets.com/78124724c3ecfbc9d8940bd8140b90134e305e5dd5595e079645fa13934ab52e/matplotlib/matplotlib/issues/32063
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/78124724c3ecfbc9d8940bd8140b90134e305e5dd5595e079645fa13934ab52e/matplotlib/matplotlib/issues/32063
og:image:altBug summary If the global font size is set with plt.rcParams["font.size"] and the size value >12, the Chinese charaters will show, else the Chinese characteres will disappear. Code for reproduction...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedragoneptech
hostnamegithub.com
expected-hostnamegithub.com
None1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6a93e25585f487ddff9e3996c06d5b869d6e1828
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://Github.com/matplotlib/matplotlib/issues/32063#start-of-content
https://Github.com/
Sign in https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F32063
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F32063
Sign up https://Github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://Github.com/matplotlib/matplotlib/issues/32063
Reloadhttps://Github.com/matplotlib/matplotlib/issues/32063
Reloadhttps://Github.com/matplotlib/matplotlib/issues/32063
Please reload this pagehttps://Github.com/matplotlib/matplotlib/issues/32063
matplotlib https://Github.com/matplotlib
matplotlibhttps://Github.com/matplotlib/matplotlib
Please reload this pagehttps://Github.com/matplotlib/matplotlib/issues/32063
Notifications https://Github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://Github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://Github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://Github.com/matplotlib/matplotlib
Issues 1.1k https://Github.com/matplotlib/matplotlib/issues
Pull requests 419 https://Github.com/matplotlib/matplotlib/pulls
Actions https://Github.com/matplotlib/matplotlib/actions
Projects https://Github.com/matplotlib/matplotlib/projects
Wiki https://Github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://Github.com/matplotlib/matplotlib/security
Insights https://Github.com/matplotlib/matplotlib/pulse
Code https://Github.com/matplotlib/matplotlib
Issues https://Github.com/matplotlib/matplotlib/issues
Pull requests https://Github.com/matplotlib/matplotlib/pulls
Actions https://Github.com/matplotlib/matplotlib/actions
Projects https://Github.com/matplotlib/matplotlib/projects
Wiki https://Github.com/matplotlib/matplotlib/wiki
Security and quality https://Github.com/matplotlib/matplotlib/security
Insights https://Github.com/matplotlib/matplotlib/pulse
#32072https://github.com/matplotlib/matplotlib/pull/32072
[Bug]: Font fallback bugshttps://Github.com/matplotlib/matplotlib/issues/32063#top
#32072https://github.com/matplotlib/matplotlib/pull/32072
first-contributionhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22first-contribution%22
topic: text/fontshttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%2Ffonts%22
https://github.com/dragoneptech
dragoneptechhttps://github.com/dragoneptech
on Jul 18, 2026https://github.com/matplotlib/matplotlib/issues/32063#issue-4917856319
https://private-user-images.githubusercontent.com/62263246/623549974-a83eec59-8d29-47d7-b028-1374a4776676.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ4ODA2NDEsIm5iZiI6MTc4NDg4MDM0MSwicGF0aCI6Ii82MjI2MzI0Ni82MjM1NDk5NzQtYTgzZWVjNTktOGQyOS00N2Q3LWIwMjgtMTM3NGE0N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U2ODlmMDZlNDFmODExZDIwOTJiODFlYWM3ZTI0OTNjOTMzNjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.HwM8VKmKwQ3yE5LdS3PndEyPJB96n7ckNMNnd7zUaJQ
first-contributionhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22first-contribution%22
topic: text/fontshttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%2Ffonts%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.