-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Fonts are not loaded in IE11 with built app #4585
Comments
Try this https://github.com/FortAwesome/Font-Awesome/wiki/Troubleshooting#internet-explorer-compatibility-mode |
Facing the same exact problem with |
Same problem as @raffaeu. Built version of create-react-app doesn't show correct fonts in IE11. I also use Ant Design for styling. Adding meta tags doesn't work for me. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
Well your team has to start fixing the bug, surely by closing the issue you
are not addressing the problem
…Sent from my Mobile
On Thu, 6 Dec 2018, 11:37 stale[bot] ***@***.*** wrote:
This issue has been automatically marked as stale because it has not had
any recent activity. It will be closed in 5 days if no further activity
occurs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4585 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPooOPaugslK7URdWSCQ_XFi5945xcUks5u2PNOgaJpZM4UemOW>
.
|
Problem is still actual |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
Can also confirm the bug. Will this be addressed? |
This may be related to #4121. Can someone confirm? We could fix it quicker then. |
I can confirm the bug is related to #4121. |
I have noticed the same issue on IE11. In development mode the fonts are loaded but when I build the application ( I checked the bundled CSS file and this is what is added: @font-face {
font-family: Open Sans;
font-style: normal;
font-weight: 400;
src: local('Open Sans Regular'), local('OpenSans-Regular'),
url(/fonts/open-sans-v15-latin_latin-ext-regular.woff2) format('woff2'),
url(/fonts/open-sans-v15-latin_latin-ext-regular.woff) format('woff');
} Not sure what needs to be added here. |
I am also facing the same exact problem with IE 11. Is there any workaround? Kind a blocker for my application. |
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
fonts
Environment
Steps to Reproduce
create-react-app
src/font
dir@font-face
inindex.css
like in this example:yarn start
and open http://localhost:3000 in Internet Explorer 11 (using a VM may be a nice idea) and check that your font is used for the text (this is the expected behavior).yarn build
serve -s build
Expected Behavior
IE11 should display the text with the OpenSans font when the project is built.
Actual Behavior
The OpenSans font is not downloaded and the text is shown as sans-serif.
IE 11 (see how the text is rendered):
Chrome:
Reproducible Demo
I created a repository to show the problem here: https://github.com/michaelperrin/create-react-app-font-problem.
Steps to reproduce:
git clone https://github.com/michaelperrin/create-react-app-font-problem.git
A few notes:
The text was updated successfully, but these errors were encountered: