while (!isEOF(obj = parser.getObj())) {
if (isCmd(obj)) {
- debugger;
var cmd = obj.cmd;
var fn = OP_MAP[cmd];
if (!fn) {
this.current.leading = -leading;
},
setFont: function canvasGraphicsSetFont(fontRef, size) {
- debugger;
var font;
// the tf command uses a name, but graphics state uses a reference
if (isName(fontRef)) {