René's URL Explorer Experiment


Title: [Bug]: IBM unix system services - Fonts can'be read in - no labelling is possible · Issue #32514 · matplotlib/matplotlib · GitHub

Open Graph Title: [Bug]: IBM unix system services - Fonts can'be read in - no labelling is possible · Issue #32514 · matplotlib/matplotlib

X Title: [Bug]: IBM unix system services - Fonts can'be read in - no labelling is possible · Issue #32514 · matplotlib/matplotlib

Description: Bug summary Fonts can'be read on IBM USS (unix) so no labeling possible a raw graph can be created and saved to file. Python: 3.12.13 (heads/pyz_dev-3.12:fe57f277d86, May 24 2026, 08:17:10) [Clang 14.0.0 (build 588d20f)] Matplotlib: 3.8....

Open Graph Description: Bug summary Fonts can'be read on IBM USS (unix) so no labeling possible a raw graph can be created and saved to file. Python: 3.12.13 (heads/pyz_dev-3.12:fe57f277d86, May 24 2026, 08:17:10) [Clang ...

X Description: Bug summary Fonts can'be read on IBM USS (unix) so no labeling possible a raw graph can be created and saved to file. Python: 3.12.13 (heads/pyz_dev-3.12:fe57f277d86, May 24 2026, 08:17:10) [Cl...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: IBM unix system services - Fonts can'be read in - no labelling is possible","articleBody":"### Bug summary\n\nFonts can'be read on IBM USS (unix)  so no labeling possible a raw graph can be created and saved to file.\n\nPython: 3.12.13 (heads/pyz_dev-3.12:fe57f277d86, May 24 2026, 08:17:10) [Clang 14.0.0 (build 588d20f)]\nMatplotlib: 3.8.4\nMatplotlib module: /usr/local/pip/matplotlib/__init__.py\nFT2Font module: /usr/local/pip/matplotlib/ft2font.cpython-312.so\nFreeType: 2.6.1\nMatplotlib data: /usr/local/pip/matplotlib/mpl-data\n\n\n\nfont content look ok:\nchtag -p \"/usr/local/pip/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf\"\nfile \"/usr/local/pip/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf\"\nod -An -tx1 -N16 \"/usr/local/pip/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf\"\n- untagged    T=off /usr/local/pip/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf\nfile: magic file \"/etc/magic\": EDC5129I No such file or directory.\n    00  01  00  00  00  14  01  00  00  04  00  40  46  46  54  4D\n\nS@ZOS31 /u/s/tlh_analyse_try > ls -l \"/usr/local/pip/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf\"\n-rwxr-xr-x   1 ROOT     SUDOGRP   756072 Feb  9  2026 /usr/local/pip/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf\n\n\n\n### Code for reproduction\n\n```Python\npython3 - \u003c\u003c'PY'\nimport glob\nfrom matplotlib.ft2font import FT2Font\n\nfont_dir = \"/usr/local/pip/matplotlib/mpl-data/fonts/ttf\"\nfor path in glob.glob(font_dir + \"/*.ttf\"):\n    try:\n        FT2Font(path)\n        print(\"OK:   \", path)\n    except Exception as exc:\n        print(\"FAIL: \", path, exc)\nPY\n\n\n-------------------- smoke test for a plot\nimport os\n\nimport matplotlib\n\nmatplotlib.use(\"Agg\")\nimport matplotlib.pyplot as plt\nfrom matplotlib import font_manager\n\n\noutput_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), \"matplotlib_uss_test.png\")\nfont_path = font_manager.findfont(\"DejaVu Sans\")\n\nprint(f\"Matplotlib backend: {matplotlib.get_backend()}\")\nprint(f\"Selected font: {font_path}\")\nprint(f\"Font exists: {os.path.isfile(font_path)}\")\n\nplt.figure(figsize=(6, 4))\nplt.plot([0, 1, 2, 3], [0, 1, 4, 9], marker=\"o\")\nplt.title(\"Matplotlib USS smoke test\")\nplt.xlabel(\"X\")\nplt.ylabel(\"Y\")\nplt.grid(True)\nplt.savefig(output_path, dpi=100)\nplt.close()\n\nprint(f\"Plot saved: {output_path}\")\nprint(f\"File size: {os.path.getsize(output_path)} bytes\")\n```\n\n### Actual outcome\n\n /usr/local/pip/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf In FT2Font: Can not load face (unknown file format; error code 0x2)\n\nMatplotlib backend: agg\nSelected font: /usr/local/pip/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf\nFont exists: True\nTraceback (most recent call last):\n  File \"/u/sri/tlh_analyse_try/test_matplotlib_uss.py\", line 23, in \u003cmodule>\n  File \"/usr/local/pip/matplotlib/pyplot.py\", line 1134, in savefig\n    res = fig.savefig(*args, **kwargs)  # type: ignore[func-returns-value]\n          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/figure.py\", line 3390, in savefig\n    self.canvas.print_figure(fname, **kwargs)\n  File \"/usr/local/pip/matplotlib/backend_bases.py\", line 2193, in print_figure\n    result = print_method(\n             ^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/backend_bases.py\", line 2043, in \u003clambda>\n    print_method = functools.wraps(meth)(lambda *args, **kwargs: meth(\n                                                                 ^^^^^\n  File \"/usr/local/pip/matplotlib/backends/backend_agg.py\", line 497, in print_png\n    self._print_pil(filename_or_obj, \"png\", pil_kwargs, metadata)\n  File \"/usr/local/pip/matplotlib/backends/backend_agg.py\", line 445, in _print_pil\n    FigureCanvasAgg.draw(self)\n  File \"/usr/local/pip/matplotlib/backends/backend_agg.py\", line 388, in draw\n    self.figure.draw(self.renderer)\n  File \"/usr/local/pip/matplotlib/artist.py\", line 95, in draw_wrapper\n    result = draw(artist, renderer, *args, **kwargs)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/artist.py\", line 72, in draw_wrapper\n    return draw(artist, renderer)\n           ^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/figure.py\", line 3154, in draw\n    mimage._draw_list_compositing_images(\n  File \"/usr/local/pip/matplotlib/image.py\", line 132, in _draw_list_compositing_images\n    a.draw(renderer)\n  File \"/usr/local/pip/matplotlib/artist.py\", line 72, in draw_wrapper\n    return draw(artist, renderer)\n           ^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/axes/_base.py\", line 3034, in draw\n    self._update_title_position(renderer)\n  File \"/usr/local/pip/matplotlib/axes/_base.py\", line 2978, in _update_title_position\n    ax.yaxis.get_tightbbox(renderer)  # update offsetText\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/axis.py\", line 1336, in get_tightbbox\n    self._update_label_position(renderer)\n  File \"/usr/local/pip/matplotlib/axis.py\", line 2609, in _update_label_position\n    bboxes, bboxes2 = self._get_tick_boxes_siblings(renderer=renderer)\n                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/axis.py\", line 2161, in _get_tick_boxes_siblings\n    tlb, tlb2 = axis._get_ticklabel_bboxes(ticks_to_draw, renderer)\n                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/axis.py\", line 1315, in _get_ticklabel_bboxes\n    return ([tick.label1.get_window_extent(renderer)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/text.py\", line 956, in get_window_extent\n    bbox, info, descent = self._get_layout(self._renderer)\n                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/text.py\", line 373, in _get_layout\n    _, lp_h, lp_d = _get_text_metrics_with_cache(\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/text.py\", line 69, in _get_text_metrics_with_cache\n    return _get_text_metrics_with_cache_impl(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/text.py\", line 77, in _get_text_metrics_with_cache_impl\n    return renderer_ref().get_text_width_height_descent(text, fontprop, ismath)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/backends/backend_agg.py\", line 220, in get_text_width_height_descent\n    font = self._prepare_font(prop)\n           ^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/backends/backend_agg.py\", line 254, in _prepare_font\n    font = get_font(_fontManager._find_fonts_by_props(font_prop))\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/font_manager.py\", line 1554, in get_font\n    return _get_font(\n           ^^^^^^^^^^\n  File \"/usr/local/pip/matplotlib/font_manager.py\", line 1496, in _get_font\n    return ft2font.FT2Font(\n           ^^^^^^^^^^^^^^^^\nRuntimeError: In FT2Font: Can not load face (unknown file format; error code 0x2)\n\n\n### Expected outcome\n\nshould label the plot\n\n### Additional information\n\nI created a smoke-test after it did not work in a larger environment that works in ubuntu, but not under USS (z/OS)\n\n### Operating system\n\nIBM USS that is z/OS\n\n### Matplotlib Version\n\n 3.8.4\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n3.12\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npip","author":{"url":"https://github.com/sri-ppi","@type":"Person","name":"sri-ppi"},"datePublished":"2026-10-21T10:26:21Z","url":"https://github.com/matplotlib/matplotlib/issues/32514"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:72ff7f44-4036-fd32-be18-bc8bd0d2d6ae
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEAF6:130DD7:E77CBC:1364F19:6B064EE8
html-safe-nonce91d6329f75fcd87f4bb2ae429f3f3edcdb610da2188594ad973c34a48a98f181
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUY2OjEzMERENzpFNzdDQkM6MTM2NEYxOTo2QjA2NEVFOCIsInZpc2l0b3JfaWQiOiIyMDAzNDE4OTQwNDcwMzQ5NTQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5f5d44422b4c72aec4ec2b876c0ec21f40949d479ef6b7207f327945dbd846b3
hovercard-subject-tagissue:5958748434
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/32514/issue_layout
twitter:imagehttps://opengraph.githubassets.com/167bc069829f78e36e2e72adcb6d382cab440db064130f02c914168e61f42cc4/matplotlib/matplotlib/issues/32514
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/167bc069829f78e36e2e72adcb6d382cab440db064130f02c914168e61f42cc4/matplotlib/matplotlib/issues/32514
og:image:altBug summary Fonts can'be read on IBM USS (unix) so no labeling possible a raw graph can be created and saved to file. Python: 3.12.13 (heads/pyz_dev-3.12:fe57f277d86, May 24 2026, 08:17:10) [Clang ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesri-ppi
hostnamegithub.com
expected-hostnamegithub.com
None772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e
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
releasef1f9a08f7c769a37f1dfc18ad43d463c222a7eea
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/32514#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F32514
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F32514
Sign uphttps://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/32514
Reloadhttps://github.com/matplotlib/matplotlib/issues/32514
Reloadhttps://github.com/matplotlib/matplotlib/issues/32514
matplotlibhttps://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Codehttps://github.com/matplotlib/matplotlib
Issues1k (1k)https://github.com/matplotlib/matplotlib/issues
Pull requests430 (430)https://github.com/matplotlib/matplotlib/pulls
Actionshttps://github.com/matplotlib/matplotlib/actions
Projectshttps://github.com/matplotlib/matplotlib/projects
Wikihttps://github.com/matplotlib/matplotlib/wiki
Security and qualityhttps://github.com/matplotlib/matplotlib/security
Insightshttps://github.com/matplotlib/matplotlib/insights
https://github.com/matplotlib/matplotlib
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/32514
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/32514
[Bug]: IBM unix system services - Fonts can'be read in - no labelling is possiblehttps://github.com/matplotlib/matplotlib/issues/32514#top
first-contributionhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22first-contribution%22
status: needs clarificationhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20clarification%22
topic: text/fontshttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%2Ffonts%22
https://github.com/sri-ppi
sri-ppihttps://github.com/sri-ppi
on Oct 21, 2026https://github.com/matplotlib/matplotlib/issues/32514#issue-5958748434
github-actionshttps://github.com/apps/github-actions
first-contributionhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22first-contribution%22
on Oct 21, 2026https://github.com/matplotlib/matplotlib/issues/32514#event-33835072874
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
on Oct 21, 2026https://github.com/matplotlib/matplotlib/issues/32514#issuecomment-6317159694
iccirhttps://github.com/iccir
topic: text/fontshttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%2Ffonts%22
on Oct 21, 2026https://github.com/matplotlib/matplotlib/issues/32514#event-33870262662
rcomerhttps://github.com/rcomer
status: needs clarificationhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20clarification%22
on Oct 25, 2026https://github.com/matplotlib/matplotlib/issues/32514#event-34205145744
Sign up for freehttps://github.com/signup?return_to=https://github.com/matplotlib/matplotlib/issues/32514
Sign in to commenthttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/32514
first-contributionhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22first-contribution%22
status: needs clarificationhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20clarification%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.