-
Notifications
You must be signed in to change notification settings - Fork 196
LFS support for font files #175
Comments
@daiyam I just filed an issue internally to allow specifying the include filter via the |
@brycekahle Yes, I think so. It's even a better solution. Thx |
Hi @brycekahle , I'm interested in this subject, can you clarify how can I specify this new option you implemented in my netlify.toml ? |
@daniele-pelagatti It hasn't been implemented yet. I will update this ticket when it is available. |
@daiyam @daniele-pelagatti you can now specify the fetchinclude filter with the environment variable |
@brycekahle I have setup the build environment variable |
@daiyam make sure you also specify |
@brycekahle yes, I was missing |
@daiyam You might want to contact support. They can help debug your build. |
@brycekahle Is this on the netlify docs at all? I only see the boolean env var, not the one for fetch include. In fact I get a single result from google if I query that env var with netlify as a 2nd keyword. |
Am getting a build failure with GIT_LFS_ENABLED=true https://gitlab.com/arthurlogilab/www.logilab.fr/merge_requests/20 The diff for the netlify.toml is here : https://gitlab.com/arthurlogilab/www.logilab.fr/merge_requests/20/diffs?commit_id=dab0283148e51ef630b2b5b8ffc2ee1f15fa136b I'm getting
talks about lfs, but doesn't seem to run |
@arthurlogilab can you try with |
@daiyam Thanks for your answer. Tried both options, not better. Would it be a "sections" problem ? |
@arthurlogilab sorry, I forgot those variables have to be put in their UI under |
@daiyam ok, that fixed it. So the variables can't be used in the |
@arthurlogilab no, I don't think. I should remove them from my |
This issue was a godsend for me. I've been tearing my hair out trying to get fonts to load from LFS correctly in Netlify. I documented it all in this community support thread which could be useful for those running into this in the future. |
Hello,
I've been pushing updates on my github repository and have seen that the only not-google font was not displayed by the browser.
In Chrome, I had the error
Failed to decode downloaded font
Here was the content of downloaded font (
https://monsieur.tech/fonts/Archive.ttf.woff
)So I've used
netlifyctl
to deploy and now, the font is correctly displayed.After a quick look around the issue seems to be in
buildbot-git-config
withIt will be good if you can also add
*.eot,*.woff
.Thx
Baptiste
The text was updated successfully, but these errors were encountered: