Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the status of TTF support in Internet Explorer?

I'm trying to determine the status of support for the TTF font format on Internet Explorer. (I don't have any Windows machines on hand to try it with.) The table at caniuse states that IE from version 9 onwards supports TTF but "only working when [fonts are] set to be installable". What does that mean? That page links to a blog post on MSDN, which describes updated font support on IE9. It isn't very clear or explicit; I think the "raw fonts" being referred to mean ttf and otf. It says "supported font formats include ... raw fonts with embedding permissions set to installable"

So, in summary:

  • Does IE support ttf fonts at all?
  • If ttf support exists, does it differ among IE9, IE10, and IE11?
  • What does "embedding permissions set to installable" mean in reference to ttf fonts?
like image 400
JC Hulce Avatar asked Jul 17 '13 07:07

JC Hulce


People also ask

Is TTF supported by all browsers?

TrueType Font (TTF) TTF has long been the most common format for fonts on Mac and Windows operating systems. All major browsers have supported it.

Which browser uses TTF?

TrueType Font (TTF) and OpenType Font (OTF) TTF and OTF font files are fully supported by 72% of all browser versons. They are supported in all modern browsers, except for Internet Explorer, for which they are only partially supported.

Is TTF Windows compatible?

TrueType is a digital font technology designed by Apple Computer, and now used by both Apple and Microsoft in their operating systems.

Is TTF or OTF better for Web?

OTF is more likely to be a “better” font, as it supports more advanced typesetting features (smallcaps, alternates, ligatures and so on actually inside the font rather than in fiddly separate expert set fonts).


2 Answers

So as I mentioned in my question above, Internet Explorer has some ttf support starting with version 9, but "only working when [fonts are] set to be installable".

Some background:

...TrueType fonts have embedding "bits" which allow the creator of the font to decide the level of embedding that will be permitted. There are four different embedding bits: (1) no embedding, (2) embedding for view and print only, (3) embedding for view, print and editing, and (4) installable embedding.. Many small type design houses have set their embedding bits so that embedding of any kind is not permitted. ...

Source (also contains a lot of other information on this) and here's Another source with similar info

In another question, dealing with the embedding bits was discussed. It was revealed there that the Font Squirrel webfont generator automatically deals with these embedding bits by default on most fonts. Since I had ran my font through font squirrel I was good to go. I tweaked my CSS to prefer TTF over WOFF for testing and obtained the following results using webpagetest:

  • IE8 Did not work with TTF. It fell back to EOT
  • IE9 Worked with TTF
  • IE10 Worked with TTF

Note that I did not test fonts without the embedding bits set to installable, no I cannot say anything about that. But the general conclusion is that TTF fonts work in IE 9 onwards when the embedding bits are set to installable

like image 180
JC Hulce Avatar answered Oct 11 '22 12:10

JC Hulce


Just google internet explorer ttf support or alike which would give you lots of information like eg http://www.fontspring.com/blog/fixing-ie9-font-face-problems

IE support for TTF is unclear: some sites claim support (like caniuse) other deny that (like http://webfonts.info/node/379)

In a ttf file there is information on what a user is allowed to do with the font. For TTF fonts to be allowed to be used in websites the font's embedding bits must be set to installable. The 'embedding bits' refer to fsType information in the OS/2 table, and 'installable' means that all fsType bits are off. So even if a browser supports TTF the font's foundry could deny usage of particular fonts.

like image 25
Roebie Avatar answered Oct 11 '22 12:10

Roebie