Using Costum Font Face on Internet Explorer

Bila kita menemui error seperti ini pada waktu menggunakan browser IE :
CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable.

Hal itu disebabkan type file dari font tidak didukung oleh browser IE.
Solusinya convert type file menjadi type file yang didukung IE seperti .eot atau .woff dengan menggunakan website :
https://andrewsun.com/tools/woffer-woff-font-converter/
Sesudah itu tambah url untuk file misalnya woff seperti dibawah ini
[code language=”javascript”]
@font-face {
font-family: ‘Myriad Pro’;
src: url(‘fonts/myriad/MyriadPro-Regular.otf’) format(‘opentype’),
url(‘fonts/myriad/MyriadPro-Regular.woff’) format(‘woff’);
}
[/code]

Referensi :
http://stackoverflow.com/questions/30501416/font-face-not-working-in-ie-otf-font

Yosef Sukianto has written 36 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>