Slashdot Mirror


Web Open Font Format Gets Backing From Mozilla

A new format specification has reached consensus among web and type designers and is being backed by Mozilla. Dubbed Web Open Font Format (WOFF), it is an effort to bring advanced typography to the Web in a much better way. Support for the new spec will be included as a part of Firefox 3.6 which just recently hit beta. "WOFF combines the work Leming and Blokland had done on embedding a variety of useful font metadata with the font resource compression that Kew had developed. The end result is a format that includes optimized compression that reduces the download time needed to load font resources while incorporating information about the font's origin and licensing. The format doesn't include any encryption or DRM, so it should be universally accepted by browser vendors — this should also qualify it for adoption by the W3C."

11 of 206 comments (clear)

  1. Easier fonts means a lot! by SlappyBastard · · Score: 5, Funny

    For example, just imagine a world where every website can easily implement Comic Sans, even if the end user has uninstalled the font.

    --
    I scream. You scream. I assume that means we're both acquainted with the problem. We proceed.
    1. Re:Easier fonts means a lot! by zonky · · Score: 4, Interesting

      Surely there are security concerns around sites using fonts where the letters are 'swapped' to obfusicate where links are actually directed?

    2. Re:Easier fonts means a lot! by syousef · · Score: 5, Funny

      For example, just imagine a world where every website can easily implement Comic Sans, even if the end user has uninstalled the font.

      Unfortunately I think most web sites will standardise on Windings.

      --
      These posts express my own personal views, not those of my employer
    3. Re:Easier fonts means a lot! by zonky · · Score: 4, Interesting

      Actually, Opera did have a hole like this recently: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-3832

    4. Re:Easier fonts means a lot! by causality · · Score: 4, Insightful

      people are simply unable to determine where they are, whether or not a site is trustworthy, and will click anything to install something

      That's because according to many users, basic competence is "only for geeks and nerds." Many of them consider it a terribly unreasonable burden to expect them to read even the most basic step-by-step documentation which was intended for non-technical audiences because "they're not computer experts." They don't seem to appreciate the difference between "don't trust every anonymous individual who asks for your bank account information" and "write this complex program in x86 assembly," which is not unlike the difference between "drive this car" and "rebuild its engine."

      Knowing this, do I feel sorry for them when they get screwed? No, I don't. It's unfortunate and I wish it didn't have to be that way, but I see no injustice in it. That's because they not only refuse to inform themselves but often actively resent even the implication that they could and should. This still goes on even after the widely publicised cases of identity theft and fraud that, if anything, the media tends to get sensationalistic about. It still goes on despite the vast wealth of freely available information out there which is accessible to anyone who can get to Google. At some point, water seeks its own level. The scammers are just attaching a higher price tag to something that didn't have an excuse in the first place.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    5. Re:Easier fonts means a lot! by maxume · · Score: 5, Interesting

      I actually already had that unchecked; I was remembering poorly. The real tricky attack is to use onmousedown to swap out the link, something like this:

      <a href="http://www.example.com" onmousedown="this.href=buildlink(...)">link</a>

      --
      Nerd rage is the funniest rage.
  2. format does not matter, it's about download limits by chriss · · Score: 4, Informative

    The interesting part of WOFF is not that it is a new font format. Actually it is mostly a wrapper around the OpenType format from Microsoft and Adobe with some goodies. The important part is that WOFF restricts where the font can be linked to. While e.g. a truetype font can be referenced from anywhere with CSS, a WOFF font has to be stored on the same site as the web page/css.

    This might seem minor to you, but due to this restriction some of the large font foundries like fontfont and linotype will license their professional fonts for web use for the first time (, probably because it would make prosecution of non licensed font use doable). This is actually big and will probably be an important step for typography on the web. I hope for the end of sFir, headlines as graphics and other bad ideas.

    I think the format itself is not so much a technical and more a political achievement. It actually helps that it was derived from drafts from two typographers, not from some of the browser producers. The fact that it is a new format (so no copy problem baggage) and that it will provide some very light copy protection without having to implement DRM on the browser site probably helped getting the foundries on board. And you really need the foundries if you want typography to work, the current state of free fonts is just not good enough for most professional requirements.

    Gecko, webkit and Opera already support OpenType, so adding the new format will be easy. Microsoft's IE supports crippled OpenType as eOT. The primary reason for crippling it was providing some light copy protection to get the foundries on board (which failed), so maybe even Microsoft will play along this time.

    If this happens, we will not only see one font technology that is supported by all browsers for the first time, but will also be able to use thousands of professional fonts along with already usable free fonts to help browsers catch up with the increased readability and expressiveness print has had for hundreds of years due to the long time experience in typography.

  3. Re:Does anyone else long for the days... by John+Whitley · · Score: 4, Insightful

    ...when the web was more about content than fancy presentation?

    No, you can't have your (ugly) static unstyled HTML back. Because the history of the web has shown that limiting technology presents no real limit to either bad presentation or awful information architecture. Web publishers who are doin' it wrong will continue to suck no matter how the medium evolves. It's the people with a clue, who create compelling new experiences, who are the ones I want to see empowered with new ways of doing things.

  4. Re:format does not matter, it's about download lim by kill-1 · · Score: 4, Interesting

    This might seem minor to you, but due to this restriction some of the large font foundries like fontfont and linotype will license their professional fonts for web use for the first time

    I believe it when I see it. It is trivial to convert a WOFF font back to Truetype or CFF. And most WOFF fonts probably won't be subsetted, so the foundries are essentially allowing their licensees to put their complete fonts on the web downloadable for everyone.

  5. Re:format does not matter, it's about download lim by chriss · · Score: 4, Insightful

    You haven't provided any reason that this font format is different than what we already have, and you're completely ignoring the SVG format which is actually a fully open standard, and is already supported if you properly support SVGs.

    The point you didn't get: It doesn't matter.

    • It does not matter if this could be done with existing technology.
    • It does not matter that it is basically OpenType in a new packaging.
    • It does not matter that it does provide close to no copy protection.
    • It does not matter that browsers could simply ignore it.
    • It does not matter that font licenses make the RIAA look like the EFF.

    The ONLY thing that matters is that the foundries accept WOFF, because they have the content that everybody wants to license. And if they puke on SVG, TrueType or OpenType, it wouldn't matter if these were the best formats the world has ever seen. The "new format" is more a psychological definition than a technological one. Yes, one can find a million reasons why this is stupid, unnecessary, nothing new, but it doesn't matter.

    And for the (old and boring) argument against font use on the web: There IS no good typography on the web, because it cannot work due to lack of good fonts. So using the current state as an argument why WOFF is unnecessary is kind of short sighed, when the current situation is bad due to the lack of an established font solution accepted by the industry, which is exactly what WOFF is trying to change.

    If you want to argue that typography is bad, please use print as your target, because this is where typography is put to good use. I write this on a display at 160DPI, the iPhone also has about 160DBI and the Nokia tablets have 240DPI. In a few years every screen will be indistinguishable from paper, all operating systems will be resolution independent and 20 years of lousy font support at 72DPI will be a fading memory of the past. The future of web typography will be much longer than its current past, so judge it on what it can do (and does on paper today), not based on failed implementations.

  6. Re:Brillian idea by Draek · · Score: 4, Insightful

    Actually, I'm making a bit of an unfair judgment here. I'm presuming that you don't know how to design a site that gracefully degrades but still works properly when a user has a browser with missing or deliberately disabled features. But you know what they say: it's only 99.99% of web designers that make the rest look bad! :)

    This, a thousand times this. As much as I dislike the idea by itself, having certain control over fonts in the web isn't a bad thing by itself, it helps make it prettier and more readable when done correctly. The problems start, however, at the very point where the website stops working correctly because the user had the "arrogance" of replacing the font with his own, or the "nerve" to press Ctrl++ to try and make the text bigger.

    The two most important words for anyone doing web design and/or development are degrade gracefully. They should be hammered into the skull of every new student, branded with fire on their arses, and giving out 100 pages of the phrase hand-written in cursive should be mandatory before graduation.

    Use Silverlight to show an h264-encoded 1080p introductory video to visitors of your website if you want, write the entire menu in a client-side version of lolcode if you wish and use CSS features that won't be implemented by anyone before the year 2020 to make it prettier if you must, as long as you degrade gracefully and show something *useful* to people who don't have support for your dearest gizmo.

    Seriously. Once desktop computers stop being the norm for web browsing, you and your boss will thank me for it.

    --
    No problem is insoluble in all conceivable circumstances.