On Thu, 21 Feb 2002, Erik van der Poel wrote:

> 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

That may not be enough, since the font may not include the proper OpenType
tables. You should also check for presence of glyphs named 'Asmall', ...,
'Zsmall'. See:

        http://partners.adobe.com/asn/developer/type/corporateuse.txt

roozbeh

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

Reply via email to