[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] problem with "bold" quality recognition
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] problem with "bold" quality recognition |
Date: |
Wed, 23 Nov 2011 09:10:19 +0100 (CET) |
> I have two bold fonts, which have "bold" style marked in the "name"
> table (Name ID 2 - "Bold") and a "bold" weight (as shown me by
> Fontlab), but Freetype's "face->style_flags & FT_STYLE_FLAG_BOLD"
> returns false.
Looking into NettTFMonoBold.ttf, I can confirm this.
> Where does Freetype look for a bold and italic style?
For the SFNT format, bit 5 in the `fsSelection' field of the `OS/2'
table is used. This bit is not set which looks like an error in the
font itself.
Werner