-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Gatsby transform font-family in @font-face wrong #20310
Comments
Happy new year! I want to bump it for fix it |
Hey @item4, I just investigate on this and this seems to be resolved after upgrading the css-loader package. But there are some options have breaking change, I will file a PR for it soon. :) |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
Description
I want to use webfonts with Gatsby but I can not use it.
Steps to reproduce
<h1>
tag and view computed font (expected web, but local fonts loaded)Expected result
Use webfonts and render like it
(You can read working code at https://github.com/item4/kfonts-work-example )
Actual result
Do not load webfont and use default fonts like it
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here.Additional informations
In develop mode, gatsby send me blob data, and I can see wrong font-family name like it.
something make encode texts, but not correct.
) instead of
\BC30\B2EC\C758\BBFC\C871 \B3C4\D604
has three spaces(\0020
.as like dev mode, production mode insert css code at html file. but there also same problem.
I guess some configuration of gatsby make it wrong.
The text was updated successfully, but these errors were encountered: