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. On 18.02.2008 14:27:42 Justus-bulk wrote: > [EMAIL PROTECTED] wrote on Mon, 18 Feb 2008 08:16:12 +0100: > > > Having pondered this for a while, I now think this would actually be > > the cleaner solution. I'll soon send another patch. > > This was easy... I do like this one better. Jeremias? > > Justus. > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
