Skip to content

Fix default Roboto font not being found by the matplotlib FontManager #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

madmiraal
Copy link
Contributor

Fixes #115

requirements.txt:

sphinx==7.2.6
sphinxext-opengraph==0.9.0
matplotlib==3.8.2

With a default conf.py created using sphinx-quickstart (minus the comments) and adding the sphinxext-opengraph extension:

project = 'Test'
copyright = '2023, Test Authors'
author = 'Test Authors'

extensions = [
    "sphinxext.opengraph",
]

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

html_theme = 'alabaster'
html_static_path = ['_static']

Running make html now creates a beautiful Social Card:

summary_index_29209853

@Daltz333 Daltz333 merged commit 641c59e into sphinx-doc:main Dec 14, 2023
@madmiraal madmiraal deleted the fix-roboto-not-found branch December 14, 2023 15:54
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

findfont: Font family 'Roboto' not found.
2 participants