Add a comment about supporting hint replacement

This commit is contained in:
Vivien Nicolas 2011-09-02 15:26:16 +02:00
parent 5f99e398f4
commit e1f7edfae8

View File

@ -1466,6 +1466,7 @@ var Type1Parser = function() {
// This is the same things about hint replacement, if it is not used
// entry 3 can be replaced by {3}
// TODO support hint replacment
if (index == 3) {
charstring.push(3);
i++;
@ -1942,7 +1943,7 @@ CFF.prototype = {
return type2Charstrings;
},
getType2Subrs: function cff_getType2Charstrings(type1Subrs) {
getType2Subrs: function cff_getType2Subrs(type1Subrs) {
var bias = 0;
var count = type1Subrs.length;
if (count < 1240)