> When I use TTF font in windows, it seems that there are always four > font styles for user to choose regular bold, Italic, and oblique.
Not always, but most families traditionally consist of four fonts which provides these four styles. > I check the souce code in freetype. It seems that > face->os2.fsSelection stores the font style in one certain font > files. But I have no idea how to get the font style I want. Simply select the right font. There is not a single font which contains all four styles. > Can we set and change the font style that to be displayed in > freetype engine? Information about the style can be found in the TrueType `name' table. Please check the OpenType specification: http://www.microsoft.com/typography/otspec160/name.htm Werner _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
