René's URL Explorer Experiment


Title: [without findfont diff] Parsing all families in font_manager by aitikgupta · Pull Request #20549 · matplotlib/matplotlib · GitHub

Open Graph Title: [without findfont diff] Parsing all families in font_manager by aitikgupta · Pull Request #20549 · matplotlib/matplotlib

X Title: [without findfont diff] Parsing all families in font_manager by aitikgupta · Pull Request #20549 · matplotlib/matplotlib

Description: PR Summary Short Note: This is a newer and more dynamic approach than #20496, which changed findfont's API, thus breaking a lot of backends. A much more flexible approach would be to gradually move the different backends to find_fontsprop instead of findfont, since the new function is built over the existing API and acts as a middleware. Quoting previous PR: This is the beginning of migrating from Matplotlib's "Font-First" approach to a "Text-First" approach. The very first step is to parse all families in font manager. Previously, we only parsed families until we find a font file, and the rest of the backends are accustomed to just a single font file (which needs changing) OrderedDict would contain fonts defined by font.family which are present on the system but also append "fallback fonts" in the end. (which is triggered if a certain font family is not found in the system)## PR Checklist Has pytest style unit tests (and pytest passes). Is Flake 8 compliant (run flake8 on changed files to check). New features are documented, with examples if plot related. Documentation is sphinx and numpydoc compliant (the docs should build without error). Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all). New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there). API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

Open Graph Description: PR Summary Short Note: This is a newer and more dynamic approach than #20496, which changed findfont's API, thus breaking a lot of backends. A much more flexible approach would be to gradually ...

X Description: PR Summary Short Note: This is a newer and more dynamic approach than #20496, which changed findfont's API, thus breaking a lot of backends. A much more flexible approach would be to gradua...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/20549

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d8a1793f-4aee-5f27-8dc5-04c6a78b537a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8774:2D7C5C:1130CAF:17579CF:6A520EF3
html-safe-nonced16c1a76ccb0435aff0c165ad5df3751b612058049d18a8080ef22eb15acb038
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzc0OjJEN0M1QzoxMTMwQ0FGOjE3NTc5Q0Y6NkE1MjBFRjMiLCJ2aXNpdG9yX2lkIjoiMTMwNzUzOTk4NTQ0OTIyNTk3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac41a2b4cc53fe5d2e25076eed96ed90b820f28cf4f62ee0f62f68ee271dd6469a
hovercard-subject-tagpull_request:680664597
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/20549/files
twitter:imagehttps://avatars.githubusercontent.com/u/43996118?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/43996118?s=400&v=4
og:image:altPR Summary Short Note: This is a newer and more dynamic approach than #20496, which changed findfont's API, thus breaking a lot of backends. A much more flexible approach would be to gradually ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/20549/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F20549%2Ffiles
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
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%2Fpull%2F20549%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/20549/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/20549/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/20549/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
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 409 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
Sign up for GitHub https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
aitikguptahttps://github.com/aitikgupta
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
aitikgupta:family-parsinghttps://github.com/aitikgupta/matplotlib/tree/family-parsing
Conversation 30 https://github.com/matplotlib/matplotlib/pull/20549
Commits 8 https://github.com/matplotlib/matplotlib/pull/20549/commits
Checks 0 https://github.com/matplotlib/matplotlib/pull/20549/checks
Files changed https://github.com/matplotlib/matplotlib/pull/20549/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
[without findfont diff] Parsing all families in font_manager https://github.com/matplotlib/matplotlib/pull/20549/files#top
Show all changes 8 commits https://github.com/matplotlib/matplotlib/pull/20549/files
e877533 Allow font manager to parse all families aitikgupta Jun 30, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/e8775335a67b6ebac3f745086d166e0bc54bc9f2
dc2fb2b Use FontsInterface for agg backend aitikgupta Jun 30, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/dc2fb2bc08e19da04753f35c865533c5cd341049
778de1f Simplify family parsing, remove FontsInterface aitikgupta Jul 18, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/778de1feea008c95651f78a5134641b8a92b8c75
8f3f410 Small bugfix for _findfont_cached aitikgupta Jul 18, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/8f3f41077c5268eb36bd3e97042aec570f4d3ad7
6ffc56e Add high-level documentation aitikgupta Jul 19, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/6ffc56efa3899cc61b4b025c55aef7dc15eae594
aaf0b0a Reword sentences to be more formal aitikgupta Jul 22, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/aaf0b0a782245598b07d6eaa878dc2e42b9a73e9
42fcf01 Restructure with a cached version aitikgupta Jul 22, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/42fcf0175f87c60c89d4d31197f508f637cd2ae1
7b5ea77 Flake8 fixes aitikgupta Aug 6, 2021 https://github.com/matplotlib/matplotlib/pull/20549/commits/7b5ea77b45c09ba6def6c391336da131ef5f4abd
Clear filters https://github.com/matplotlib/matplotlib/pull/20549/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
fonts.rst https://github.com/matplotlib/matplotlib/pull/20549/files#diff-6c4da6b75d1593c3f233f215a2696458b02353eeb608cd7d7964dbed27f52131
backend_agg.py https://github.com/matplotlib/matplotlib/pull/20549/files#diff-0a415dbb618fcfb73e6191c735f6e5a91f530d4a29b8886afdfd56604892de61
font_manager.py https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
doc/users/fonts.rsthttps://github.com/matplotlib/matplotlib/pull/20549/files#diff-6c4da6b75d1593c3f233f215a2696458b02353eeb608cd7d7964dbed27f52131
View file https://github.com/aitikgupta/matplotlib/blob/7b5ea77b45c09ba6def6c391336da131ef5f4abd/doc/users/fonts.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/20549/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-6c4da6b75d1593c3f233f215a2696458b02353eeb608cd7d7964dbed27f52131
lib/matplotlib/backends/backend_agg.pyhttps://github.com/matplotlib/matplotlib/pull/20549/files#diff-0a415dbb618fcfb73e6191c735f6e5a91f530d4a29b8886afdfd56604892de61
View file https://github.com/aitikgupta/matplotlib/blob/7b5ea77b45c09ba6def6c391336da131ef5f4abd/lib/matplotlib/backends/backend_agg.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/20549/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-0a415dbb618fcfb73e6191c735f6e5a91f530d4a29b8886afdfd56604892de61
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-0a415dbb618fcfb73e6191c735f6e5a91f530d4a29b8886afdfd56604892de61
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-0a415dbb618fcfb73e6191c735f6e5a91f530d4a29b8886afdfd56604892de61
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-0a415dbb618fcfb73e6191c735f6e5a91f530d4a29b8886afdfd56604892de61
lib/matplotlib/font_manager.pyhttps://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
View file https://github.com/aitikgupta/matplotlib/blob/7b5ea77b45c09ba6def6c391336da131ef5f4abd/lib/matplotlib/font_manager.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/20549/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
tacaswellhttps://github.com/tacaswell
Jul 20, 2021https://github.com/matplotlib/matplotlib/pull/20549/files#r673148939
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
aitikguptahttps://github.com/aitikgupta
Jul 22, 2021https://github.com/matplotlib/matplotlib/pull/20549/files#r674982860
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/20549/files
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
https://github.com/matplotlib/matplotlib/pull/20549/files#diff-aca801331b4c856bff720af0575b9ad63f402c893abd7d939e5547ba961ee324
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.