var charstring = [];
var lsb = 0;
var width = 0;
- var flexState = 0, flexPoints;
+ var flexState = 0;
var value = '';
var count = array.length;
switch (subrNumber) {
case 1:
flexState = 1; // prepare for flex coordinates
- flexPoints = 0;
break;
case 2:
flexState = 2; // flex in progress
- flexPoints++;
break;
case 0:
// type2 flex command does not need final coords
if (isArray(cmd))
charstring.splice(i++, 1, cmd[0], cmd[1]);
- else if (cmd !== null)
+ else
charstring[i] = cmd;
} else {
// Type1 charstring use a division for number above 32000