[OpenFontLibrary] Adobe's Source Sans Pro

Khaled Hosny khaledhosny at eglug.org
Fri Aug 3 10:20:48 PDT 2012


Don't be so sure:
http://www.adobe.com/devnet/opentype/afdko/topic_font_wt_win.html

On Fri, Aug 03, 2012 at 10:14:54AM +0100, vern adams wrote:
> It's a bad OS/2 usWeightClass value (nothing to do with CSS). So, the '250' is
> getting rounded up to '300' and therefore clashing with the Light version which
> already has WeightClass of 300.
> I think it's simple human error; the usWeightClass in the 'font.ttf' that Adobe
> have included with the source of Source Sans Extra Light is '200'.
> Also, some of the fonts have fsType of 0x0004 (Documents containing Preview &
> Print fonts must be opened "read-only;" no edits can be applied to the
> document), but i assume Adobe means all the Source Sans fonts should be set to
> 0x0000.
> -v
> 
> 
> On 3 Aug 2012, at 09:51, Denis Jacquerye <moyogo at gmail.com> wrote:
> 
> 
>     OpenType allows weight values from 1 to 999.
>     CSS is the one rounding those to multiples of 100 from 100 to 900.
>     Fontconfig maps them to some range from 0 to 210 (I'm not sure there).
>     Fontconfig also has multiple aliases for its weight value 40:
>     extralight or ultralight, and its weight value 210: black or heavy. So
>     applications just using those values to name variants might not match
>     the OT names.
> 
> 


More information about the OpenFontLibrary mailing list