[OpenFontLibrary] Please use local() with PostScript name as the first src alternative
Henri Sivonen
hsivonen at iki.fi
Wed Apr 22 01:23:21 PDT 2009
I noticed that the CSS snippets offered for copying and pasting aren't
optimized for users who have the font installed locally.
Please include the PostScript name of the font face in local() as the
first alternative in src. This way users who already have the font
installed locally don't need to wait for it to download.
Like this (copying from my own style sheet):
@font-face {
font-family: "Linux Biolinum";
font-weight: bold;
font-style: normal;
src: local("LinBiolinumB"), url("../fonts/libertine/4.4.1/
Biolinum_Bd-0.4.1.otf.gz") format("opentype"), url("../fonts/libertine/
4.4.1/Biolinum_Bd-0.4.1.ttf.gz") format("truetype");
}
--
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
More information about the OpenFontLibrary
mailing list