freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Some news


From: Werner LEMBERG
Subject: Re: [Devel] Some news
Date: Wed, 31 Jul 2002 00:38:11 +0200 (CEST)

>       Another important point is the so-called "FT_Set_Hint_Mode"
>       API. I've come to the conclusion that something like the
>       following would be a good thing:
> 
>           typedef enum
>           {
>             FT_HINT_TARGET_MONO    = (1 << 0),  /* bit flags */
>             FT_HINT_MODE_ANTIALIAS = (1 << 1),
>             FT_HINT_MODE_OUTLINE   = (1 << 2)
>           };

An old mistake, David: Don't define bit flags as `enum'!  Use #define,
since any combination of bit flags is out of the enum.  Everthing
else sounds fine for me.


   Werner



reply via email to

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