W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: Advanced Font Features

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 19 Jan 2008 09:15:05 -0500
Message-ID: <479205E9.2020406@inkedblade.net>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
CC: CSS Style <www-style@w3.org>

Jukka K. Korpela wrote:
> Christoph Päper wrote:
> 
> Returning to the practical situation, I wouldn't suggest taking much 
> trouble in defining new cool features before browsers can at least 
> distinguish between italics and oblique and stop treating them as the 
> same. Specifically, font-style: italic should be ignored when the font 
> has no italics version.

http://www.w3.org/TR/CSS21/fonts.html#font-styling

"A value of 'italic' selects a font that is labeled 'italic', or, if
that is not available, one labeled 'oblique'."

In CSS, where the designer doesn't know what set of fonts will be
available when the page is rendered, this makes a lot of sense. If
font-style: italic fell back to a different font's italic it would
look noticeably weird. And if it fell back to a normal font, then
we have lost what is often an important distinction between the
italicized text and the surrounding text.

Also most people use "italic" when they mean "either italic or oblique"
because they don't know what an oblique is.

~fantasai
Received on Saturday, 19 January 2008 14:15:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:58 GMT