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


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to