Skip to content

Fira Sans cannot be loaded #115

@kjcole

Description

@kjcole

I'm getting errors saying that several fonts cannot be loaded, but Fira Sans, at least, appears to be available in the right spot... Perhaps something in the conf.py is tripping it up. So, I've attached a log and an uncommented conf.py.

Versions

  • Pop OS 22.04
  • Python 3.10.12
  • Sphinx 8.1.3
  • sphinx-simplepdf 1.6.0

Behavior

$ pushd ~/.local/lib/python3.10/site-packages 
$ find . -iname "*fira*"
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraMono-Medium.ttf
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraSans-Bold.otf
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraSans-Light.otf
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraSans-LightItalic.otf
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraMono-Regular.ttf
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraMono-Bold.ttf
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraSans-Italic.otf
./sphinx_simplepdf/themes/simplepdf_theme/static/fonts/FiraSans-Regular.otf

$ popd
$ make simplepdf
...
WARNING: Font-face 'Helvetica Neue Bold' cannot be loaded
WARNING: Font-face 'Helvetica Neue Light' cannot be loaded
WARNING: Font-face 'Helvetica Neue Medium' cannot be loaded
WARNING: Font-face 'Helvetica Neue Regular' cannot be loaded
WARNING: Font-face 'Fira Sans' cannot be loaded
WARNING: Font-face 'Fira Sans' cannot be loaded
WARNING: Font-face 'Fira Sans' cannot be loaded
WARNING: Font-face 'Fira Sans' cannot be loaded
WARNING: Font-face 'Fira Sans' cannot be loaded
WARNING: Font-face 'fontawesome-webfont' cannot be loaded
...

Configuration and log

make.log
conf.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions