Skip to content
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

findfont: Font family 'Roboto' not found. #115

Closed
madmiraal opened this issue Dec 12, 2023 · 0 comments · Fixed by #116
Closed

findfont: Font family 'Roboto' not found. #115

madmiraal opened this issue Dec 12, 2023 · 0 comments · Fixed by #116

Comments

@madmiraal
Copy link
Contributor

This issue was previously raised in #107, but was closed in #110. However this is still an issue with sphinxext-opengraph==0.9.0; so I'm opening the issue again.

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 prints findfont: Font family 'Roboto' not found. repeatedly.

Build log:
Running Sphinx v7.2.6
making output directory... done
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 1 source files that are out of date
"updating environment: [new config] 1 added, 0 changed, 0 removed"
reading sources... [100%] index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
findfont: Font family ['Roboto'] not found. Falling back to DejaVu Sans.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.
findfont: Font family 'Roboto' not found.

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

I can confirm that _static/Roboto-flex.ttf is there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant