clean up code
This commit is contained in:
parent
f0a580e1e7
commit
ec19935ffb
3
pdf.js
3
pdf.js
@ -1700,8 +1700,6 @@ var XRef = (function() {
|
|||||||
return this.fetch(obj);
|
return this.fetch(obj);
|
||||||
},
|
},
|
||||||
fetch: function(ref) {
|
fetch: function(ref) {
|
||||||
if (!ref)
|
|
||||||
console.trace();
|
|
||||||
var num = ref.num;
|
var num = ref.num;
|
||||||
var e = this.cache[num];
|
var e = this.cache[num];
|
||||||
if (e)
|
if (e)
|
||||||
@ -2341,7 +2339,6 @@ var CanvasGraphics = (function() {
|
|||||||
|
|
||||||
constructor.prototype = {
|
constructor.prototype = {
|
||||||
translateFont: function(fontDict, xref, resources) {
|
translateFont: function(fontDict, xref, resources) {
|
||||||
return;
|
|
||||||
var descriptor = xref.fetch(fontDict.get("FontDescriptor"));
|
var descriptor = xref.fetch(fontDict.get("FontDescriptor"));
|
||||||
|
|
||||||
var fontName = descriptor.get("FontName");
|
var fontName = descriptor.get("FontName");
|
||||||
|
Loading…
Reference in New Issue
Block a user