[autofit] Minor optimization.

* src/autofit/afglobals.c (af_face_globals_compute_script_coverage):
Add loop condition.
This commit is contained in:
Werner Lemberg 2012-09-29 22:40:40 +02:00
parent 156ba42e4d
commit bf745003e9
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-09-29 Werner Lemberg <wl@gnu.org>
[autofit] Minor optimization.
* src/autofit/afglobals.c (af_face_globals_compute_script_coverage):
Add loop condition.
2012-09-29 Werner Lemberg <wl@gnu.org>
[autofit] Fix thinko.

View File

@ -135,6 +135,7 @@
* By default, all uncovered glyphs are set to the fallback script.
* XXX: Shouldn't we disable hinting or do something similar?
*/
if ( globals->module->fallback_script != AF_SCRIPT_NONE )
{
FT_Long nn;