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

Fira Sans font not loading #6

Open
vankesteren opened this issue Oct 23, 2021 · 1 comment
Open

Fira Sans font not loading #6

vankesteren opened this issue Oct 23, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@vankesteren
Copy link
Owner

I've been receiving some notifications that firatheme does not work as intended for some users. This seems to be mainly on windows. Upon first use, the firatheme package shows the following error when loading the Fira Sans font:

Extracting .afm files from .ttf files...
C:\path\to\fonts\FiraSans-Bold.ttf : No FontName. Skipping.
C:\path\to\fonts\FiraSans-BoldItalic.ttf : No FontName. Skipping.
C:\path\to\fonts\FiraSans-Italic.ttf : No FontName. Skipping.
...
Found FontName for 0 fonts.

This is a known issue with a dependency of the extrafont package used to import the fonts. A workaround is installing a previous version of this package using the remotes package with the following code:

remotes::install_version("Rttf2pt1", version = "1.3.8")

See also the following issues:

I can't really do anything about this right now, let's hope that the dependency gets fixed at some point!

@vankesteren vankesteren added the bug Something isn't working label Oct 23, 2021
vankesteren added a commit that referenced this issue Nov 14, 2021
to deal with issues surrounding Rttf2pt1 #6
@vankesteren
Copy link
Owner Author

On mac, a solution is to just install Fira Sans in the font book.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant