06/12/2008

Opera 10 Alpha is here

An early Christmas present from Opera - Opera 10.

It features

  • Support for Web Fonts and SVG font files.
  • RGBA opacity - part of the CSS3 spec. If you're wondering how this is different from "regular" opacity, CSS3.info has the info and for a really good book that's "heavy" on CSS, see here
  • It scores 100/100 on the Acid3 test

The SVG point is an interesting one. It means you can specify a vector graphic to use as your font-family, as easily as specifying a background-image or color. E.g.

@font-face {
font-family: "My SVG font";
src: url("http://www.myweb.com/fonts/myfont.svg#myFont") format("svg");
font-style: normal, italic;
font-weight: 500;
}

And if the user's browser doesn't support SVG, no big deal - the default text still shows up. Now, we'll be able to use a number of font formats in CSS3, but I feel SVG has real potential, being an open standard and easy to get into. There are tools available like FontForge that let you easily convert to SVG.

Have a look and see how your browser copes with SVG. If it doesn't, complain!

No comments: