[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] returned DataType for FT_New_Face
From: |
Werner LEMBERG |
Subject: |
Re: [ft] returned DataType for FT_New_Face |
Date: |
Thu, 23 Aug 2007 18:01:13 +0200 (CEST) |
> if I put this line of code...
>
> error = FT_New_Face( library, fname, 0, &face )
>
> ... then what should I set error to?
The type is FT_Error. FT_Err_Ok is the value 0.
> ex... int, string, unsigned int etc...
This should be of no importance. There is a set of predefined error
codes with FT_Err_XXX to compare with. Relying on numeric values is
dangerous since we sometimes change them.
Werner