W3C home > Mailing lists > Public > www-style@w3.org > October 2009

RE: font features in CSS

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Fri, 30 Oct 2009 14:37:30 +0000
To: Bert Bos <bert@w3.org>, "www-font@w3.org" <www-font@w3.org>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E02392A43@TK5EX14MBXC120.redmond.corp.microsoft.com>
> From: www-font-request@w3.org [mailto:www-font-request@w3.org] On
> Behalf Of Bert Bos


 
> Moreover, I don't think it is a requirement that CSS supports all OT
> features. A handful of the more common ones is enough. If a designer
> wants a specific feature of a specific font, he can make a new font (or
> a virtual font) in which that feature is turned on. That's what we have
>  @font-face for.

Do you mean that @font-face would support a mapping mechanism e.g. (apologies for bad names/patterns)

@font-face {
	font-family:Greetings;
	src:url(Greetings.xyz);
	font-variant-map: exalted feature("salt=2","ss05=1"); 
}

...

#headline {
	font-family:Greetings;
	font-variant: exalted;
}
Received on Friday, 30 October 2009 14:38:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:21 GMT