[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bugs?
From: |
Pavel Kankovsky |
Subject: |
Re: bugs? |
Date: |
Tue, 11 Jul 2000 17:48:45 +0200 (MET DST) |
On Tue, 11 Jul 2000, Lidia Mirkin wrote:
> TT_FaceRec* face;
...
> error = FT_New_Face( library , pathname.getStr() , 0,
> (FT_Face*)(&face) );
...
> 1.for some fonts it works OK , but it fails on memory for standart Arial.ttf
> 2.face->num_names field always is 0.Is this bug or feature?
Why the hell do you think a pointer returned by FT_New_Face can be used as
a pointer to TT_FaceRec? The cast can make your program compileable but it
will not make it correct. (Not to mention the fact you should probably
avoid using internal types like TT_FaceRec at all.)
--Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."
- bugs?, Lidia Mirkin, 2000/07/11
- Re: bugs?,
Pavel Kankovsky <=
- Re: bugs?, David Turner, 2000/07/11