freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Accessing FT_Stream API


From: armin
Subject: Re: [ft-devel] Accessing FT_Stream API
Date: Tue, 25 Jun 2019 15:20:22 +0100

>> However, I can only use `FT_INTERNAL_INTERNAL_H' with `FT2_BUILD_LIBRARY'
>
> That is a fine solution if FT_SYSTEM_H is not enough for you.
> https://www.freetype.org/freetype2/docs/reference/ft2-system_interface.html

Alright, thanks a lot :)

Also, I just ran into the issue of `FT_Stream_OpenGzip' requiring the stream to 
having a valid `memory' field, which is not provided by `FT_Stream_OpenMemory' 
(for obvious reasons).  Anyways ... would it be a good idea to add that 
requirement (a valid `memory field') as defined precondition of `source' to 
`FT_Stream_OpenGzip' etc.?  ... as far as I know, streams within FreeType 
_could_ be created and passed around without valid `memory' fields?




reply via email to

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