[Fontconfig] fontconfig should set font weight with usWeightclass value
Fri, 7 Mar 2003 23:03:21 -0800
It seems that fontconfig assigns a font weight value of 200
to all fonts which have their bold bit set in the fsSelection value
of OS/2 font table regardless of whether the font is demibold,
bold or black. This causes applications to pick a wrong font
when there are several fonts with the same family and bold bit set
but with different styles.
For example, I have Zurich Bold and Zurich Black typeface.
They are both Zurich family and both have set their bold bit on.
But they are both given font weight value 200. Somehow
applications see them as same face and display them as the same
Bold or Black face. They should be given different font weight value
greater than 100.
I think font weight values should be set not by the bold bit but
by the usWeightClass value in the font OS/2 table. The OpenType
OS/2 table information on Abode site
shows the following table.
200 Extra Light
400 Normal (Regular)
800 Extra Bold
So I think it makes more sense if fontconfig assigns
font weight values based on usWeightClass value in OS/2 font table
rather than just the bold bit.
네띠앙 프리미엄 메일 오픈! (SMTP, 스팸메일 필터링 제공) http://www.netian.com/premium_mail/main.html