2011-06-23 2:51, Philippe Wittenbergh wrote:

For the font-size, you could do something now, by using font-size-adjust.

Something, but not programmed selection of property values depending on availability and use of fonts, which is what the question seems to be about.

> Unfortunately, support is somewhat spotty :-( - basically limited to
> Gecko 1.9.0 + (Firefox 3.0 and newer) and IE 9 (if I'm not wrong).

You're wrong about IE 9, at least if we can believe Microsoft:
http://msdn.microsoft.com/en-us/library/cc351024%28v=vs.85%29.aspx#font
(Ugly URL for a nice resource, "CSS Compatibility and Internet Explorer", i.e. description of support to CSS in different IE versions from 5 to 9.)

In the future, you should be able to solve this with @font-face:

Well, maybe. CSS3 seems to try its best in running forward so that browser vendors won't ever catch it. :-)

Hmm, use @font-face to load a font with real small caps?

That's possible, if you create such a font or get permission to use someone else's. And you need it in at least two formats.

I guess the OP wants to use specifically Copperplate, not just "a" font with real small caps. Copperplate isn't a typical small-caps font at all. For traditional typographic use of small-caps, you would really want to have a small-caps typeface of a font that you otherwise use. A font that _only_ exists as small-caps is of limited usefulness.

@font-face does not solve the problem posed, but surely many other problems. Perhaps @font-face often makes the problem under discussion unnecessary to solve: if you can force (for some values of "force") your font to be downloaded and used, you won't need to care about what happens when your font is not used.

> And don't specify font-variant in your stylesheet.

It's indeed better not use it, because browsers do wrong things about it, as I wrote earlier.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
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