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.

On Fri, Aug 3, 2012 at 10:42 AM, Alexandre Prokoudine
<alexandre.prokoud...@gmail.com> wrote:
> Okay, I pinged Paul via Twitter about that. Thanks for the hint!
>
> Alexandre
>
> On Fri, Aug 3, 2012 at 12:38 PM, vern adams <v...@newtypography.co.uk> wrote:
>> That's right (i think) the usWeightClass in OS/2 tables must be multiples of
>> 100. Source Sans Extra Light has a value of 250. The value should be 200, as
>> the Light version is already 300.
>> -v
>>
>> On 3 Aug 2012, at 09:32, Khaled Hosny <khaledho...@eglug.org> wrote:
>>
>> So I'd say it is a font bug (might be a FontConfig limitation as well, I
>> have some vague recollection about some discussion somewhere on whether
>> OS/2 weight must be multiples of 100 or not).
>>
>>
>
>
>
> --
> Alexandre Prokoudine
> http://libregraphicsworld.org



-- 
Denis Moyogo Jacquerye
African Network for Localisation http://www.africanlocalisation.net/
Nkótá ya Kongó míbalé --- http://info-langues-congo.1sd.org/
DejaVu fonts --- http://www.dejavu-fonts.org/

Reply via email to