Re: [ft-devel] af_glyph_hints_compute_inflections can be removed

2010-05-22 Thread Werner LEMBERG
 Here's a suggestion to simplify FreeType slightly by removing unused
 code.  [...]

Done in the git repository.  Thanks for the suggestion.


Werner

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


[ft-devel] af_glyph_hints_compute_inflections can be removed

2010-05-21 Thread Graham Asher
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