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

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

 



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
<ldo@xxxxxxxxxxxxxxxxxxx> 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
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux