[psaux] Extend Adobe interpreter. (closepath)
* src/psaux/psintrp.c (cf2_interpT2CharString) <closepath>: Use the right builder function. We can use the haveWidth boolean already present, instead of implementing parse_state.
This commit is contained in:
parent
7927aff510
commit
be82fc50b9
|
@ -926,11 +926,9 @@
|
|||
FT_TRACE4(( " closepath" ));
|
||||
|
||||
/* if there is no path, `closepath' is a no-op */
|
||||
if ( builder->parse_state == T1_Parse_Have_Path ||
|
||||
builder->parse_state == T1_Parse_Have_Moveto )
|
||||
t1_builder_close_contour( builder );
|
||||
ps_builder_close_contour( &decoder->builder );
|
||||
|
||||
builder->parse_state = T1_Parse_Have_Width;
|
||||
haveWidth = TRUE;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue