css - Using data uri scheme in IE 8 for fonts -


how can fonts defined in data uris appear in internet explorer 8?

here's background: i'm using tinymce html editor in web application, being used several organisations, of using ie has been set not allow font downloads. icons in tinymce implemented font, , therefore people can't download fonts can't see icons. i'm trying fix issue using data uri scheme in skin.min.css, says

src:url('fonts/icomoon.eot') 

i've changed say

src:url("data:application/vnd.ms-fontobject;base64,tcaaak...dojnto") 

this works in ie 9, isn't working in ie 8. according this wiki page data uris should allowed in ie8 if they're less 32kb , appear url expected in css. font 9kb.

update:

i've since discovered data uris not adequate solution problem of ie being set not allow font downloads in version 9. setting, web fonts aren't used if embedded within stylesheet. make sense security point of view, because malicious code reside in embedded base64 binary separate one. thinking otherwise resulted mixture of wishful thinking, failure clear cache, , fact ie security settings in developer machine locked down. going edit style sheet use images instead.

data uris aren't supported fonts in ie8, unfortunately. it's issue ran when writing font-face render check. solution load eot externally.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -