freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] Freetype design problem?...


From: David Turner
Subject: Re: [Freetype] Freetype design problem?...
Date: Mon, 27 Aug 2001 11:07:04 +0200

Hi Paul,

"Pedriana, Paul" a écrit :
> 
> Well, after writing some more code, I did notice that
> there is the descriptor field. I imagine I can take
> that field and store a pointer to custom data (in addition
> to storing a FILE* pointer). This seems to me to be
> more or less a satisfactory solution to the problem
> of being able to store custom data in the FT_Stream
> record, as long as nobody but the (replaceable) stream
> IO functions do anything with that data.
> 
The "descriptor" and "pathname" fields of a FT_StreamRec
structure are reserved for implementations and never
used directly by the library.

Actually, they were designed precisely to solve the
problem you're having :-)

Cheers,

- David



reply via email to

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