[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font
From: |
Chia-I Wu |
Subject: |
Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font |
Date: |
Sun, 18 Dec 2005 10:42:49 +0800 |
User-agent: |
Mutt/1.5.11 |
On Sat, Dec 17, 2005 at 04:01:38PM -0800, George Williams wrote:
> Ok, here is an iterator.
> FT_GetIterate_BDF_Property(FT_Face,BDF_PropertyIteratorRec *aprop)
> To get the first property set,
> aprop->index = 0
> (each call will automagically increment)
>
> aprop->cnt will be set to the number of properties in the face
> aprop->name the name string
> aprop->property standard BDF_PropertyRec with the value.
I suggest the following APIs, making iterator merely an iterator:
/* to iterate... */
FT_Get_BDF_Iterator( face, &iter );
while ( FT_Iterare_BDF_Property( face, &iter, &name, &aprop ) )
{
/* do something; */
}
/* to get property count... */
FT_Get_BDF_Property_Count( face );
--
Regards,
olv
- [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/17
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font,
Chia-I Wu <=
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/18
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/18
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/18
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, Chia-I Wu, 2005/12/18
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/19
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/19
- Re: [ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/19
[ft-devel] Re: [ft] Creating an [OT]TF font from BDF font, George Williams, 2005/12/17