Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Putting Unusual Fonts into Web Pages

Tags:

fonts

On a web project for a client, we want to use a type of "script" font that looks like handwriting in a few places throughout the site. The problem is that these are not typically system fonts and so we don't think we can advise the client to use them (client likes the look); they may or may not render nicely at the client.

We are planning to go forward by just creating GIF's of various phrases using the font locally, then using those images on the site pages. This seems to me to be a little kludgy (though it should work). Is there a better alternative?

like image 793
Mike K Avatar asked Feb 28 '23 14:02

Mike K


1 Answers

cufon uses javascript to replace headings and such with text rendered in a SVG or VML. It fails nicely, that is the headings are not replaced if the SVG or VML cannot be rendered.

typeface.js is similar, using the canvas tag.

Although there are always the issues with font licensing.

like image 148
Clint Avatar answered Mar 17 '23 20:03

Clint