[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Examining Windows fonts with FT
From: |
Steven Johnson |
Subject: |
Re: [Devel] Examining Windows fonts with FT |
Date: |
Fri, 16 Jul 2004 09:26:09 -0700 |
> > (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?
Yeah, that's my thought. Perhaps it's returning the first sub-face? (I have
been preoccupied with other matters and haven't had a chance to
investigate.)
> Are you sure that you use face index 0 while calling
> FT_New_Memory_Face?
Yep :-)