Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WOFF Fonts, what Are they and why should I care?

Tags:

fonts

woff

So mozilla has proposed a new webfont, i'm not really into that world, but i want to keep myself up2date. So whats the great thing since even Microsoft is backing it, why should I as a webdev care?

Whats the difference from the old ones? Do we need another font system? In what situations should i use WOFF? Why not just stick to the existing ones?

Also a new tag called WOFF might be useful.

like image 617
CS. Avatar asked Apr 21 '10 15:04

CS.


People also ask

What is WOFF file font?

WOFF (the Web Open Font Format) is a web font format developed by Mozilla in concert with Type Supply, LettError, and other organizations.

Should I use TTF or WOFF?

Choose WOFF: If you're using a modern browser, WOFF wraps both TTF and OTF into a single compressed file. Lighter for loading! Choose WOFF 2.0: The newest version developed by Google. The best format to choose because of its smaller file size and better performance for loading on modern browsers.

Can I use WOFF font?

WOFF, WOFF2 and EOT are web-only font formats for use exclusively on websites through the CSS rule @font-face. They cannot be installed on desktop computers, nor used in programs like InDesign, Quark, Photoshop or Microsoft Word.

Do I need WOFF and WOFF2?

It is a World Wide Web Consortium Recommendation and is clearly the future of font formats. WOFF2 is the next generation of WOFF. The WOFF2 format offers a 30% average compression gain over the original WOFF. Because it still just a recommended upgrade, it does not have the wide support of WOFF.


1 Answers

Well, WOFF is a new font standard, as you know (like truetype & opentype) but which is designed specifically for use on the web, to be embedded in HTML.

The reason this is significant; the reason you should care and the reason this development is on par with the invention of wearing underwear on the outside to save on laundry bills - is because the ability to embed fonts enables the using of fonts that may not be on the client's system. And WOFF fonts are optimised for this task.

So, while web sites have been limited to a small number of web safe fonts (eg Tahoma,Arial), with the new CSS rule font-face, the browser can now download a font and use it.

This may just sound like something for shandy-sipping, turtleneck-wearing designer-types - however, in some cases it's essential... like when an OS doesn't have a Japanese font, for example, and the web site has text in Japanese. This situation is ordinarily a dead-end, no-show.

WOFF format is the bees-knees for downloadable fonts, for 2 main reasons:

  • WOFF is compressed - smaller download sizes compared with raw TrueType or OpenType fonts. No need to manually gzip files or have the server do it

  • WOFF contains information that allows you to see where the font came from – without DRM – which has support from font creators

So,

Do we need it? Yes. We need another font system to cater for the need to compress and identify a font & work with embedding in web pages.

When? You would use WOFF in all cases when embedding web fonts (assuming browser support is ubiquitous)

Why? We wouldn't just stick to the existing ones because they are not compressed and can't be identified properly and cannot progress with the embeddable concept and are therefore not as suitable for the job.

like image 97
PandaWood Avatar answered Sep 20 '22 23:09

PandaWood