Still testing type1 charstring conversion
This commit is contained in:
parent
9b91fca347
commit
9f615036d9
9
fonts.js
9
fonts.js
@ -1488,8 +1488,9 @@ var Type1Parser = function() {
|
|||||||
// TODO Clean this code
|
// TODO Clean this code
|
||||||
if (escape == 16) {
|
if (escape == 16) {
|
||||||
var index = charstring.pop();
|
var index = charstring.pop();
|
||||||
// var argc = charstring.pop();
|
var argc = charstring.pop();
|
||||||
// var data = charstring.pop();
|
for (var j = 0; j < argc; j++)
|
||||||
|
var data = charstring.pop();
|
||||||
|
|
||||||
// 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
|
||||||
@ -1501,8 +1502,8 @@ var Type1Parser = function() {
|
|||||||
// This is the same things about hint replacement, if it is not used
|
// This is the same things about hint replacement, if it is not used
|
||||||
// entry 3 can be replaced by {3}
|
// entry 3 can be replaced by {3}
|
||||||
if (index == 3) {
|
if (index == 3) {
|
||||||
// charstring.push(3);
|
charstring.push(3);
|
||||||
// i++;
|
i++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user