From e1f7edfae8c6de2dcfa1a4481496189e04fd1115 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Fri, 2 Sep 2011 15:26:16 +0200 Subject: [PATCH] Add a comment about supporting hint replacement --- fonts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fonts.js b/fonts.js index 4b119dc20..90e70a302 100755 --- a/fonts.js +++ b/fonts.js @@ -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)