From 60f8371353013e78ab0a789f49af90d64fe65f0d Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 14 Jul 2011 07:34:12 +0200 Subject: [PATCH] * src/psaux/t1decode.c (t1_decoder_parse_charstrings) : Better handling of subroutine index 0. From Matthias Drochner . --- ChangeLog | 6 ++++++ src/psaux/t1decode.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f2b8365a7..e61c803dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-07-14 Werner Lemberg + + * src/psaux/t1decode.c (t1_decoder_parse_charstrings) + : Better handling of subroutine index 0. + From Matthias Drochner . + 2011-07-10 Алексей Подтележников [psaux] Optimize previous commit. diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c index 96437bc50..7ed031e49 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",