freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Examining Windows fonts with FT


From: Werner LEMBERG
Subject: Re: [Devel] Examining Windows fonts with FT
Date: Thu, 15 Jul 2004 08:59:36 +0200 (CEST)

> (1) Enumerate the logical fonts installed, using
> EnumFontFamiliesEx(), read the font into memory using GetFontData,
> then use FT_New_Memory_Face().  This works in most cases, but some
> fonts fail with a "bad format" error.  On my system, these are
> mainly asian TTCs (eg, MSGOTHIC.TTC) but I haven't yet determined if
> the problem is exclusive to non-Western fonts or to TTCs.

Maybe Windows is already doing something not properly documented for
TTCs?

Are you sure that you use face index 0 while calling
FT_New_Memory_Face?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]