Browse Source

Refactor translateFont() to be more readable - part3

Vivien Nicolas 14 years ago
parent
commit
c5b83eaf73
  1. 14
      pdf.js

14
pdf.js

@ -4415,12 +4415,20 @@ var PartialEvaluator = (function() { @@ -4415,12 +4415,20 @@ var PartialEvaluator = (function() {
map[i] = GlyphsUnicode[j] || 0;
}
}
var properties = {
type: type.name,
encoding: map,
differences: [],
firstChar: 0,
lastChar: 256
};
this.extractEncoding(dict, xref, properties);
return {
name: baseFontName,
dict: baseDict,
properties: {
encoding: map
}
properties: properties
};
}

Loading…
Cancel
Save