27.02.2013 Views

Suitcase Fusion 3 User Guide for Mac OS - Extensis

Suitcase Fusion 3 User Guide for Mac OS - Extensis

Suitcase Fusion 3 User Guide for Mac OS - Extensis

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The fallback stack<br />

Usually, when you visit a website, your browser is limited to displaying fonts that are present on your computer,<br />

so web designers have been careful to use what have been known as “web-safe” fonts.<br />

Typically a style rule that defines a font <strong>for</strong> use on a web page uses what is called a “fallback stack.” The<br />

purpose of the fallback stack is to allow the designer to specify the font he or she wants to use, and if that font<br />

isn’t present, give the browser other options to “fall back” on.<br />

You will often see something like this rule in a style sheet:<br />

body { font-family: "Helvetica Neue", Arial, sans-serif; }<br />

This tells the browser to first try to use the font Helvetica Neue, and if that’s not present use Arial, and if that’s<br />

not present, use the browser’s default sans-serif font.<br />

Since Helvetica Neue is not a common font on Windows, chances are that many people would see your website<br />

in Arial.<br />

Enter @font-face<br />

Long ago, the keepers of Web standards realized that people would soon grow tired of Arial, Courier, and even<br />

Comic Sans. They devised a way <strong>for</strong> web pages to use fonts that live somewhere on the web, and not<br />

necessarily on the user’s computer. This is the @font-face rule. Un<strong>for</strong>tunately, while this rule was considered<br />

<strong>for</strong> inclusion in the CSS2 standard, it was left out, but it is now part of the proposed CSS3 standard.<br />

Fortunately, browser manufacturers knew a good thing when they saw it. As long ago as 1997 Microsoft started<br />

implementing the ability <strong>for</strong> Internet Explorer to interpret @font-face in style sheets.<br />

The rule looks like this:<br />

@font-face { font-family: Extensium; src: url(http://site/fonts/fontfile.otf); }<br />

The font is located in the file specified by the url. The font-family property in this usage specifies the name<br />

that you will use in the rest of your CSS.<br />

Now you can use the font Extensium at the top of your fallback stack:<br />

body { font-family: Extensium, Utopia, Georgia, serif; }<br />

As long as the browser that is loading the CSS can also access the url where the font file is located, the<br />

Extensium font will be used. It is still a good idea to provide a fallback stack, in case the remote font file is not<br />

accessible (if the server is offline or the file gets corrupted, <strong>for</strong> example).<br />

Today, enough browsers support the @font-face rule to make it a viable option <strong>for</strong> web designers to use,<br />

finally breaking the chain tying them to the handful of web-safe fonts.<br />

The drawback is that, in order to have external fonts load correctly on multiple browsers, web designers need to<br />

implement a cumbersome set of rules. But even after implementing these rules (see <strong>for</strong> example Bulletproof<br />

@font-face syntax, http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/), website owners still<br />

have to make sure they are using properly licensed fonts, and take precautions against font piracy.<br />

What’s a person to do?<br />

Implementing the promise of “unlimited” web fonts seems like a daunting challenge. The WebINK font rental<br />

service from <strong>Extensis</strong> was developed to eliminate the frustrations of using @font-face and licensing fonts <strong>for</strong><br />

web use. We have worked with a number of foundries to bring thousands of high quality, low cost fonts together.<br />

We have also built a system to deliver these fonts in the correct <strong>for</strong>mat <strong>for</strong> whatever browser is asking <strong>for</strong> them.<br />

You don’t need to convert the fonts, and you don’t need to write special CSS to make sure every browser is<br />

supported.<br />

Unlike other font rental services, WebINK doesn’t require any special setup on the end user’s computer. They<br />

don’t need to have Flash, JavaScript, or any other software installed or enabled. When a person visits your page,<br />

they see the fonts you specify. Just like you intended.<br />

- 79 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!