shithub: freetype+ttf2subf

Download patch

ref: 60f8371353013e78ab0a789f49af90d64fe65f0d
parent: 403559b84ad155d96bfa6c581236b2d0959a8a55
author: Werner Lemberg <[email protected]>
date: Thu Jul 14 03:34:12 EDT 2011

* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
<op_callothersubr>: Better handling of subroutine index 0.
From Matthias Drochner <[email protected]>.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-14  Werner Lemberg  <[email protected]>
+
+	* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
+	<op_callothersubr>: Better handling of subroutine index 0.
+	From Matthias Drochner <[email protected]>.
+
 2011-07-10  Алексей Подтележников  <[email protected]>
 
 	[psaux] Optimize previous commit.
--- a/src/psaux/t1decode.c
+++ b/src/psaux/t1decode.c
@@ -1009,7 +1009,7 @@
           break;
 
         default:
-          if ( arg_cnt >= 0 && subr_no > 0 )
+          if ( arg_cnt >= 0 && subr_no >= 0 )
           {
             FT_ERROR(( "t1_decoder_parse_charstrings:"
                        " unknown othersubr [%d %d], wish me luck\n",