NYCPHP Meetup

NYPHP.org

[nycphp-talk] font properties

Ronald Painter ron.painter at gmail.com
Fri May 27 16:48:08 EDT 2011


Hi, Ian:

Set font-size to the height you need and use (per Anthony's comment)
font-stretch to adjust the width of the typeface. The caveat is that
font-stretch is CSS3 and buggy or non-existent in most browsers. IE 9 is
rumored to support it as is FF3.6+ but it is probably too early to reliably
use it, even on those browsers.

You could also use negative letter-spacing to tighten up the tracking but
you need a light hand with this approach and it simply positions the letters
closer to each other without changing the width.

Using alternate typefaces, @font-face, for example fontsquirrel  (
http://www.fontsquirrel.com/fontface/generator) or cufon (
http://cufon.shoqolate.com/generate/) is an option, but you need to keep
typeface copyrights in mind when you use those services.

Good luck on your design.

Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20110527/aed4404a/attachment.html>


More information about the talk mailing list