shithub: freetype+ttf2subf

Download patch

ref: bf745003e9f2edde469cfbf162a36045529fdff7
parent: 156ba42e4d44b0bf5f92d43c0bc9b46f9cc19c93
author: Werner Lemberg <[email protected]>
date: Sat Sep 29 18:40:40 EDT 2012

[autofit] Minor optimization.

* src/autofit/afglobals.c (af_face_globals_compute_script_coverage):
Add loop condition.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-09-29  Werner Lemberg  <[email protected]>
 
+	[autofit] Minor optimization.
+
+	* src/autofit/afglobals.c (af_face_globals_compute_script_coverage):
+	Add loop condition.
+
+2012-09-29  Werner Lemberg  <[email protected]>
+
 	[autofit] Fix thinko.
 
 	* src/autofit/aftypes.h (AF_SCRIPT):
--- 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;