On 6/22/11 4:54 AM, Rick Gordon wrote:
Is there some way to map a font-variant or text-transform to a specific font, 
without doing the expected variant/transform?

For instance, say I was using a style that had font-variant:small-caps and also 
has Copperplate (a natively small-cap font) as the preferred font. So I would 
want the following set of responses:

1) If Copperplate is available, set it as normal normal bold 1.2em Copperplate

2) If Copperplate is not available, set it as normal small-caps bold 1.1em 
Verdana (or default sans-serif)

Could this be accomplished with CSS alone, or would it require Javascript?




I afraid I have no idea what the expression "map a ..." means...
@fontface works fairly well cross-browser -- providing an appropriate fallback font is set for browers not yet supporting it such as Mac Camino -- for two or three word display fonts but is abysmal for setting a block of text.
<http://www.fontsquirrel.com/>
<http://www.fontsquirrel.com/fontface/generator>

Best,
~d

--
http://chelseacreekstudio.com/


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to