mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 17:18:07 +02:00
clean up code
This commit is contained in:
parent
f0a580e1e7
commit
ec19935ffb
1 changed files with 0 additions and 3 deletions
3
pdf.js
3
pdf.js
|
@ -1700,8 +1700,6 @@ var XRef = (function() {
|
|||
return this.fetch(obj);
|
||||
},
|
||||
fetch: function(ref) {
|
||||
if (!ref)
|
||||
console.trace();
|
||||
var num = ref.num;
|
||||
var e = this.cache[num];
|
||||
if (e)
|
||||
|
@ -2341,7 +2339,6 @@ var CanvasGraphics = (function() {
|
|||
|
||||
constructor.prototype = {
|
||||
translateFont: function(fontDict, xref, resources) {
|
||||
return;
|
||||
var descriptor = xref.fetch(fontDict.get("FontDescriptor"));
|
||||
|
||||
var fontName = descriptor.get("FontName");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue