freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] af_glyph_hints_compute_inflections can be removed


From: Graham Asher
Subject: [ft-devel] af_glyph_hints_compute_inflections can be removed
Date: Fri, 21 May 2010 10:56:30 +0100
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Here's a suggestion to simplify FreeType slightly by removing unused code. It has the agreeable side effect of preventing a compiler warning about an unused argument (get_inflections in af_glyph_hints_reload).

1. Remove the function af_glyph_hints_compute_inflections from afhints.c.

2. Remove the argument get_inflections from af_glyph_hints_reload, and remove the use of it inside that function.

3. Remove all uses of the third argument in calls to af_glyph_hints_reload.

Best regards,

Graham




reply via email to

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