[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] FT_Done_Face Should Not Return An Error
From: |
suzuki toshiya |
Subject: |
Re: [ft] FT_Done_Face Should Not Return An Error |
Date: |
Mon, 7 May 2018 14:34:26 +0900 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Thunderbird/56.0a1 |
I guess, if the original request were something like:
"there are so many existing applications which ignore the errors from
FT_Done_Face or FT_Done_Library.
I know no concrete examples of these errors, I want to collect the information
on these errors, so I want to have some hook into these functions.
something like a registration mechanism of a function pointer to be called when
FT_Done_Face or FT_Done_Library is going to return some error.
how to do that?",
the discussion could be more constructive.
Some desktop applications on Unix systems are expected to be running from the
user's login to the user's logout. Some of them are depending FreeType. Thus,
making FreeType abort immediately by a bad font, it can make some environment
quite inconvenient.
# I remember, Mac OS X 10.0 had such problem. A bad font in user's font
directory can prevent the login itself. It was quite inconvenient, except of
the people knowing SSH or CUI login method.
On 5/7/2018 1:55 PM, Werner LEMBERG wrote:
>
>>> I agree with Gregor: A library should not call `exit' by itself.
>>
>> What else is it supposed to do?
>
> Nothing.
>
>> Lots of code is already ignoring the result from FT_Done_Face.
>
> Yes. You only get an error code if `FT_Done_Face' is called with an
> invalid handle, something which doesn't happen in a normal FreeType
> workflow.
>
>
> Werner
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype
>
- Re: [ft] FT_Done_Face Should Not Return An Error, (continued)
- Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/09
- Re: [ft] FT_Done_Face Should Not Return An Error, Werner LEMBERG, 2018/05/09
- Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/09
- Re: [ft] FT_Done_Face Should Not Return An Error, Werner LEMBERG, 2018/05/09
- Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/10
- Re: [ft] FT_Done_Face Should Not Return An Error, Werner LEMBERG, 2018/05/11
- Message not available
- Re: [ft] FT_Done_Face Should Not Return An Error, suzuki toshiya, 2018/05/10
- Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/10
- Re: [ft] FT_Done_Face Should Not Return An Error, Werner LEMBERG, 2018/05/11
- Re: [ft] FT_Done_Face Should Not Return An Error, Gregor Mückl, 2018/05/10
- Message not available
- Re: [ft] FT_Done_Face Should Not Return An Error,
suzuki toshiya <=
- Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/07
Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/05
- Re: [ft] FT_Done_Face Should Not Return An Error, Gregor Mückl, 2018/05/05
- Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/05
- Re: [ft] FT_Done_Face Should Not Return An Error, Gregor Mückl, 2018/05/06
- Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/06
- Re: [ft] FT_Done_Face Should Not Return An Error, Gregor Mückl, 2018/05/06
Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/06
Re: [ft] FT_Done_Face Should Not Return An Error, Gregor Mückl, 2018/05/06
Re: [ft] FT_Done_Face Should Not Return An Error, Lawrence D'Oliveiro, 2018/05/06