Rollback defaults for font's Length1 and Length2

This commit is contained in:
notmasteryet 2011-06-27 19:56:19 -05:00
parent 48a2346275
commit 806fd49bbe

View File

@ -1188,8 +1188,8 @@ var type1Parser = new Type1Parser();
var CFF = function(name, file, properties) {
// Get the data block containing glyphs and subrs informations
var length1 = file.dict.get("Length1") || 0;
var length2 = file.dict.get("Length2") || 0;
var length1 = file.dict.get("Length1");
var length2 = file.dict.get("Length2");
file.skip(length1);
var eexecBlock = file.getBytes(length2);