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: Werner LEMBERG
Subject: Re: [ft-devel] Accessing FT_Stream API
Date: Fri, 28 Jun 2019 07:38:29 +0200 (CEST)

> 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).

This looks like a bug, both in documentation (which doesn't mention
it) and implementation (which doesn't correctly check for a valid
`memory' field).

> 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.?

Yes.  Please provide a patch :-)


    Werner



reply via email to

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