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 <moazinkha...@gmail.com> 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. >
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel