RE: font features in CSS

> 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:06 UTC