From bf745003e9f2edde469cfbf162a36045529fdff7 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 29 Sep 2012 22:40:40 +0200 Subject: [PATCH] [autofit] Minor optimization. * src/autofit/afglobals.c (af_face_globals_compute_script_coverage): Add loop condition. --- ChangeLog | 7 +++++++ src/autofit/afglobal.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index d96c746ff..e18545efe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-09-29 Werner Lemberg + + [autofit] Minor optimization. + + * src/autofit/afglobals.c (af_face_globals_compute_script_coverage): + Add loop condition. + 2012-09-29 Werner Lemberg [autofit] Fix thinko. diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c index 27a883a61..3c1e837ed 100644 --- a/src/autofit/afglobal.c +++ b/src/autofit/afglobal.c @@ -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;