Keith Packard wrote:
> 
>  1)     CSS2 includes 'font variant' and 'font stretch' as properties
>         of each font.  I can extract the 'font stretch' value from
>         the TrueType OS/2 table, but don't know where to learn whether the
>         font has "small caps".

There is a feature tag called smcp:

  http://www.microsoft.com/typography/otspec/feattags.htm#smcp

Note that the CSS2 implementation is supposed to simulate small caps
even if the font does not have small caps.

This seems like a relatively "high-level" feature of CSS2 fonts. How
much of the CSS2 font spec do you intend to implement?

>  4)     Font substitution is somewhat more complicated than Fontconfig's
>         'font aliases', possibly involving panose-like matching; I'm not
>         sure what is required and what is optional yet.

CSS2 appears to have a very loose spec in this area. It doesn't look
like panose is required.

Erik
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to