Commit 60f8371353013e78ab0a789f49af90d64fe65f0d

Werner Lemberg 2011-07-14T07:34:12

* src/psaux/t1decode.c (t1_decoder_parse_charstrings) <op_callothersubr>: Better handling of subroutine index 0. From Matthias Drochner <M.Drochner@fz-juelich.de>.

diff --git a/ChangeLog b/ChangeLog
index f2b8365..e61c803 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-14  Werner Lemberg  <wl@gnu.org>
+
+	* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
+	<op_callothersubr>: Better handling of subroutine index 0.
+	From Matthias Drochner <M.Drochner@fz-juelich.de>.
+
 2011-07-10  Алексей Подтележников  <apodtele@gmail.com>
 
 	[psaux] Optimize previous commit.
diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c
index 96437bc..7ed031e 100644
--- 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",