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

IE11 issue: Permission must be Installable. #60

Closed
d4rky-pl opened this issue Jan 13, 2020 · 5 comments
Closed

IE11 issue: Permission must be Installable. #60

d4rky-pl opened this issue Jan 13, 2020 · 5 comments

Comments

@d4rky-pl
Copy link

When trying to use the TTF font in Internet Explorer 11, it throws an error:

@font-face failed OpenType embedding permission check. Permission must be Installable.

Setting the permission on the TTF font fixes the issue. This is necessary when using libraries like @expo/vector-icons that use a single file for all platforms

@Templarian
Copy link
Owner

Not sure how to fix this or what this impacts exactly? Our entire build package is open source and uses the webfont package. 😕

https://github.com/Templarian/MaterialDesign-Font-Build

@d4rky-pl
Copy link
Author

Font Awesome had the same issue, this is how they solved it:
FortAwesome/Font-Awesome#2517

tl;dr running https://github.com/hisdeedsaredust/ttembed during the build process

@d4rky-pl
Copy link
Author

ttembed-js is written in pure JS and solves the issue perfectly

@Templarian
Copy link
Owner

Oops, totally forgot to add this to the build process step before running 4.9.95 release.

We'll be adding this to the 5.0 release. Sorry about that.

@d4rky-pl
Copy link
Author

d4rky-pl commented Apr 9, 2020

@Templarian

yarn ttembed-js -n materialdesignicons-webfont.ttf
fsType is 0000; no action will be taken if run without -n.

This issue can be closed, thank you!

@d4rky-pl d4rky-pl closed this as completed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants