[OpenFontLibrary] Howto CSS with downloadable fonts.

Guillaume Yziquel guillaume.yziquel at citycable.ch
Thu Sep 3 17:44:30 PDT 2009


Guillaume Yziquel a écrit :
> Hello.
> 
> I've recently discovered Biolinum fonts, and I find them really great. 
> As I'm currently redesigning my website, I would have liked to use them, 
> and enable client browsers to download them on the fly.
> 
> So what should I do to make these fonts downloadable?

For now, I've tried:

> @font-face {
>         font-family: "Linux Biolinum O";
>         font-weight: normal;
>         font-style: normal;
>         src: local("LinBiolinumO"), url("../fonts/Biolinum_Re.ttf") format("truetype");
> }

which doensn't yield the expected result. So what should I put in 
font-family:, what's the postcript name to use in local(), and is 
Biolinum_Re.ttf OK for the organic grotesque fonts?

All the best,

-- 
      Guillaume Yziquel
http://yziquel.homelinux.org/


More information about the OpenFontLibrary mailing list