nofel — 2012-01-16T23:47:00-05:00 — #1
i am trying to understand how does font face syntax work. i have font uploaded to my server. how can i use it in my css?
ralphm — 2012-01-17T00:10:23-05:00 — #2
You use @font-face. Where did you get the font? Is it web ready? A good place to get fonts that are ready for the web is FontSquirrel, where they give you all the different font formats you need and the CSS you need to use.
nofel — 2012-01-17T00:23:50-05:00 — #3
i can't find there. the one i want is valled bello-script. its on typekit but its not in 'trail package'. what should i do?
ralphm — 2012-01-17T00:38:35-05:00 — #4
I did a quick search and did not find it offered on other sites. You could look around and see if there are free fonts that are similar to bello. Otherwise, go with Typekit. If this is a client site, they can pay. It's only $50 per year.
system — 2012-01-17T19:44:15-05:00 — #5
If you HAVE the font, upload it to font-squirrel's font-face kit generator
and it will turn it into all the formats you need with example CSS and a working demo page.
Though I would avoid using a font like bello-script on anything put the page logo due to it being effectively illegible on screen -- that's very much a 'for print only' font.
The web is not print... unless you're planning on using it at 24px or larger, I wouldn't consider that font web deployable.
ralphm — 2012-01-17T21:49:37-05:00 — #6
Ah yes, I forgot about that ... although there are legal implications around doing this with a commercial font, aren't there?
kohoutek — 2012-01-17T21:53:23-05:00 — #7
Yes, they do ask you to respect the font's EULA.
webmonkeyottawa — 2012-01-17T21:53:31-05:00 — #8
Have you tried the free fonts at Google Web Fonts? Your best bet because they will load quickly and you only have to include the CSS file in the header, then you can go right ahead and use the font. I use Google Web Fonts on a lot of the sites we develop.
But as ralph.m mentioned, commerical fonts are not for web use. You need a separate license for that. But there are a lot of free fonts, so ideally you wouldn't have to go the route of using a commerical font. Even Font Squirrel has a lot of free fonts you can grab from there.