Friday, 21 March 2008

Web fonts in Safari are funky

As mentioned below, I added a web fonts stylesheet to the blog for users of Safari 3.1 and later; however, there’s a deviation between the specification and Safari’s behavior, it seems. The spec says that you should specify a local font to use if available instead of downloading using the full font name of the local font (e.g. “DejaVu Sans Bold Oblique” or “Inconsolata Medium”), but Safari seems to only work right if you specify the family name (“DejaVu Sans” or “Inconsolata”). I think this is a bug in WebKit, and will file a bug report as soon as I get a password to do so, but the specification may be misleading here.

Update: Bug report filed.

1 comment:

Any views expressed in these comments are solely those of their authors; they do not reflect the views of the authors of Signifying Nothing, unless attributed to one of us.

I think the fonts look great in Safari. The subtle drop shadow really brings out the larger font sizes. Gotta steal some these ideas.

 
Comments are now closed on this post.