0

URL is http://arethebaronsplaying.com/

If someone can solve this for me I'll deliver something worth their while...seriously.

I cannot get my fonts to render in IE 10 or 11 in my rails app. I get the following error in IE:

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

I don't care about earlier than 10. I've tried everything people have already suggested.

I've used the font squirrel font generator, I've added a `.htaccess' file to my root with the following inside of it:

Header set Access-Control-Allow-Origin "*"

I've added a meta tag to my <head>

<meta http-equiv="X-UA-Compatible" content="IE=10">

I'm stuck. Here's my css:

@font-face {
  font-family: 'hamilton20';
  src: asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.eot');
  src: asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.eot?#iefix') format('embedded-opentype'),
   asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.woff') format('woff'),
   asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.ttf') format('truetype'),
   asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.svg#MonoSocialIconsFont') format('svg');
  src: asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

Scotch, anyone?

reknirt
  • 2,237
  • 5
  • 29
  • 48

1 Answers1

1

I found a nifty program that can be run from the command prompt to correct this error in IE9. Be aware however, as stated on the publishers download page:

Changing the embedding value does not give you license to distribute the fonts. You should only change this setting if you are the font creator, or something like that. Use at your own risk.

embed

You need a 32 bit windows box (i.e. fossil) to run the program. I have access to one. I can do it for you if you want to try it.

You should contact p22 and ask them how to solve the permission issues.

Andreas Lyngstad
  • 4,887
  • 2
  • 36
  • 69
  • I would love for you to try and solve it. I'd really appreciate that. I talked to p22 and they didn't tell me how to solve the permissions but I have a written license from them allowing me to use the site for viewing on a website. Can I email you the font files? – reknirt Mar 28 '14 at 22:31
  • 1
    Send me an email to andreaslyngstad at gmail dot com. I'll give it a go. – Andreas Lyngstad Mar 29 '14 at 07:25