diff --git a/src/cff/cf2intrp.c b/src/cff/cf2intrp.c index 4bfaa649d..0cbee559a 100644 --- a/src/cff/cf2intrp.c +++ b/src/cff/cf2intrp.c @@ -547,8 +547,10 @@ * If one of the above operators occurs without explicitly specifying * a width, we assume the default width. * + * CFF2 charstrings always return the default width (0) + * */ - haveWidth = FALSE; + haveWidth = font->isCFF2 ? TRUE : FALSE; *width = cf2_getDefaultWidthX( decoder ); /*