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

Local fonts are not being found / font URL issue #28

Open
NicolasShoFischer opened this issue May 6, 2022 · 1 comment
Open

Local fonts are not being found / font URL issue #28

NicolasShoFischer opened this issue May 6, 2022 · 1 comment

Comments

@NicolasShoFischer
Copy link

Hi,

I added some fonts to my Figma project and everything was working fine. The next day i return to my project but the added fonts are being reported as missing (even though i had no problems with them the day before).
After some inspection we realized the URL from where the font comes is being parsed wrong by font-helper.

this is what the URL for the font looks like:
http://127.0.0.1:18412/figma/font-file?file=%2Fhome%2Fnsf%2F.fonts%2Ff%2FFrutiger-Medium.otf&freetype_minimum_api_version=20

" &freetype_minimum_api_version=20 " - this part is being added by the font-helper, thus corrupting the path.

Thanks in advance for a fix, some help or a correction if i am misunderstanding something here.

@louispotok
Copy link

@NicolasShoFischer the solution here may work for you.

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

No branches or pull requests

2 participants