Skip to content

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

Merged
Daltz333 merged 1 commit intosphinx-doc:mainfrom
madmiraal:fix-roboto-not-found
Dec 14, 2023
Merged

Fix default Roboto font not being found by the matplotlib FontManager#116
Daltz333 merged 1 commit intosphinx-doc:mainfrom
madmiraal:fix-roboto-not-found

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