Windows 10 Block Untrusted Fonts
2016/06/011 min read
bookmark this
Table of Contents
- IE11 CSS3111 error
- Windows 10 + IE11 issue
- convert font as base64.
- Change regedit's Group Policy
IE11 CSS3111 error
I'm using following google fonts, and fontawesome fonts and found following error.
CSS3111: @font-face encountered unknown error.
There're few things you can check for this.
- If you use IIS, Do you have file extension at
web.config
The IIS will have to add following MIME type, you can either add to the IIS Manager directly or add as following at Web.config.
Windows 10 + IE11 issue
Windows 10 default policy will block untrusted fonts, only at IE11 all fonts will not be able to render.
convert font as base64.
You can try to convert the font to base64, however this didn't work on my window 10 enviroment's IE11.
@font-face {
font-family: 'FontAwesome';
src: url(data:application/x-font-eot;base64,xtoAAODZAAACAAIABAAAAAAAAAAAAAAAAAABAJABAAAEAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAA
AAAAFMQkuwAAAAAAAAAAAAAAAAAAAAAAABYARgBvAG4AdABBAHcAZQBzAG8AbQBlAAAADgBSAGUA
ZwB1AGwAYQByAAAAJABWAGUAcgBzAGkAbwBuACAANAAuADIALgAwACAAMgAwADEAMwAAACYARgBv
AG4AdABBAHcAZQBzAG8AbQBlACAAUgBlAGcAdQBsAGEAcgAAAAAAQlNHUAAAAAAAAAAAAAAAAAAA
Change regedit's Group Policy
Type regedit and following path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Kernel\. Look for MitigationOptions and change the value to
2000000000000.
This actually works for my case, after change it you might have to restart your pc to see changes.