working font

This commit is contained in:
sbarman 2011-08-17 15:55:09 -07:00
parent 881af4695e
commit bd567fc322

View File

@ -1490,7 +1490,7 @@ var Type1Parser = function() {
var index = charstring.pop(); var index = charstring.pop();
var argc = charstring.pop(); var argc = charstring.pop();
for (var j = 0; j < argc; j++) for (var j = 0; j < argc; j++)
var data = charstring.pop(); charstring.push('drop');
// If the flex mechanishm is not used in a font program, Adobe // If the flex mechanishm is not used in a font program, Adobe
// state that that entries 0, 1 and 2 can simply be replace by // state that that entries 0, 1 and 2 can simply be replace by
@ -1976,6 +1976,8 @@ CFF.prototype = {
'sub': [12, 11], 'sub': [12, 11],
'div': [12, 12], 'div': [12, 12],
'pop': [1, 12, 18], 'pop': [1, 12, 18],
// 'pop': [],
'drop' : [12, 18],
'endchar': 14, 'endchar': 14,
'rmoveto': 21, 'rmoveto': 21,
'hmoveto': 22, 'hmoveto': 22,