Re: Did You Know That FT_Done_Face Can Return An Error?

Akira TAGOH <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CACT-Cx0ZUNz1HVg48VnO1EB5X04o6q0MomL1Uym6sXv+eGES2w@mail.gmail.com>
All of the usage of freetype functions in fontconfig is completed in a
function and no exports. at that limited situation, the possibility of
failing finalizer is quite unlikely. even if it does, it might be
already failed on others or most of tasks to return a result is
already done. checking a return value of those functions doesn't make
sense IMHO.
That said this is the case-by-case. it wouldn't be a reason to ignore
for others.

On Sun, May 6, 2018 at 8:48 AM, Lawrence D'Oliveiro
<[email protected]> wrote:
> I notice that Fontconfig ignores possible error returns from
> FT_Done_Face and FT_Done_FreeType (cf src/fcdir.c, src/fcfreetype.c).
>
> Would you say this was wise? There seems to be a difference of opinion
> on the FreeType list
> <http://lists.nongnu.org/archive/html/freetype/2018-05/threads.html>
> about it.
> _______________________________________________
> Fontconfig mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.