shithub: freetype+ttf2subf

Download patch

ref: 96fcf87b759b5decfd5344d8c3ae1a4e52d8e09d
parent: 24b77764e76d1ce623d9b25345ef768674ef4c12
author: Werner Lemberg <[email protected]>
date: Thu Dec 8 06:22:07 EST 2011

* src/bdf/bdflib.c (_bdf_parse_start): Drop redundant error tracing.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-08  Werner Lemberg  <[email protected]>
+
+	* src/bdf/bdflib.c (_bdf_parse_start): Drop redundant error tracing.
+
 2011-12-02  suzuki toshiya  <[email protected]>
 
 	[mac] Unify DARWIN_NO_CARBON with FT_MACINTOSH.
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -2066,8 +2066,8 @@
 
       if ( ft_memcmp( line, "STARTFONT", 9 ) != 0 )
       {
-        /* No STARTFONT field is a good indication of a problem. */
-        FT_ERROR(( "_bdf_parse_start: " ERRMSG1, lineno, "STARTFONT" ));
+        /* we don't emit an error message since this code gets */
+        /* explicitly caught one level higher                  */
         error = BDF_Err_Missing_Startfont_Field;
         goto Exit;
       }