freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [freetype2] GSoC-2019-moazin 8887048: Performs basic to s


From: Moazin Khatri
Subject: Re: [ft-devel] [freetype2] GSoC-2019-moazin 8887048: Performs basic to see if SVG data is valid or not.
Date: Tue, 30 Jul 2019 01:33:22 +0500

Well one thing that just came to my mind is that though
these checks aren't problematic, I am not sure how
useful they are from a practical point of view. If somebody
had to get invalid tables passed in, there can be many ways
to do that and its impossible and also pointless to check
for all of them on FT side. So yea, maybe I should reconsider
these.

Werner, what do you think?

On Tue, Jul 30, 2019 at 1:09 AM Moazin Khatri <address@hidden> wrote:
Don't.

Don't check things your code doesn't rely on.  That just bloats code and makes assumptions that just end up being wrong and make others' life harder in the future.

Well, my code does rely on the OT-SVG specs and the
conditions I check for come directly from the specs too.
If you see a check that isn't backed up by the specs,
please let me know.  

reply via email to

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