Turns out this usWeightClass value is much less useful than our font
weight guessing. I hooked in code so we can extract the value but we're
not going to use it for now.

On 19.02.2008 15:34:03 Jeremias Maerki wrote:
> To address your question I found in the patch:
> > // Isn't weight information contained in the font file??:
> 
> Not necessarily. There's a usWeightClass value in the "OS/2" table which
> I only found just now. I guess we should make use of that value as it
> seems to correspond to the XSL font-weight values. However, in Type 1
> font you don't have such information at all. There you really only can
> derive the font weights from the font names.
<snip/>


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to