startToday
startToday

Reputation: 97

Is TTF format enough for using a web font in a project?

My client sent me his desired fonts for using in his project, but it only contains TTF format. Now I want to know is that enough to just load TTF format for my project web fonts ? How much browser support I'll get by just using TTF format ?

Thanks in advance.

Upvotes: 6

Views: 12651

Answers (2)

No, it is not. ttf is a universal OpenType font (with glyph outlines using the TrueType vector instruction set, and otf is the same type of font just with glyph outlines described using the Type2 vector instruction set), and subject to way stricter parsing than if you take that ttf and then pack it as a WOFF instead, which explicitly marks it as intended for use on the web, with certain things that need to be in a system font entirely omitted in web context.

Do not use ttf/otf.

"If it's the same thing, and everything supports TTF, why do I need to pack it as WOFF? That's more effort!"

Sort of, but there are plenty of free utils that'll do the conversion for you, and it's a font: you convert it once. Then you're done for the next few years. That's not really effort, just a one time act.

Upvotes: 6

Dan Nagle
Dan Nagle

Reputation: 5425

TTF is supported pretty much everywhere except Opera Mini and partial support in IE. See caniuse.com

Upvotes: 3

Related Questions