shithub: freetype+ttf2subf

Download patch

ref: bbe84ed9726bba6c0bad80fd1bbbabbab57a66fb
parent: 5330e3de1570a1d92e3cf1ec61418f2f0129268f
author: Werner Lemberg <[email protected]>
date: Thu Dec 10 04:33:41 EST 2015

[autofit] Remove redundant code.

* src/autofit/aflatin.c (af_latin_metrics_init_widths): Do it.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-12-10  Werner Lemberg  <[email protected]>
+
+	[autofit] Remove redundant code.
+
+	* src/autofit/aflatin.c (af_latin_metrics_init_widths): Do it.
+
 2015-12-09  Werner Lemberg  <[email protected]>
 
 	[autofit] Thinko.
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -146,9 +146,6 @@
       if ( !glyph_index )
         goto Exit;
 
-      if ( !glyph_index )
-        goto Exit;
-
       FT_TRACE5(( "standard character: U+%04lX (glyph index %d)\n",
                   ch, glyph_index ));