From 5977c98470d2d71f5bdb63ccb7b5958599e29dac Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Mon, 9 Oct 2000 01:44:40 +0000 Subject: [PATCH] patch from Tom to fix a problem with path_begun. --- src/psaux/t1decode.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c index 69e16fcbf..8bff10908 100644 --- a/src/psaux/t1decode.c +++ b/src/psaux/t1decode.c @@ -784,7 +784,8 @@ FT_TRACE4(( " hmoveto" )); x += top[0]; - builder->path_begun = 0; + if ( !decoder->flex_state ) + builder->path_begun = 0; break; case op_hvcurveto: @@ -822,7 +823,8 @@ x += top[0]; y += top[1]; - builder->path_begun = 0; + if ( !decoder->flex_state ) + builder->path_begun = 0; break; case op_rrcurveto: @@ -874,7 +876,8 @@ FT_TRACE4(( " vmoveto" )); y += top[0]; - builder->path_begun = 0; + if ( !decoder->flex_state ) + builder->path_begun = 0; break; case op_div: