Merge pull request #197 from ironymark/master
Support PDF generated by OpenOffice
This commit is contained in:
commit
edd2795c17
2
pdf.js
2
pdf.js
@ -3803,7 +3803,7 @@ var CanvasGraphics = (function() {
|
|||||||
this.current.leading = leading;
|
this.current.leading = leading;
|
||||||
},
|
},
|
||||||
setFont: function(fontRef, size) {
|
setFont: function(fontRef, size) {
|
||||||
var font = this.res.get("Font");
|
var font = this.xref.fetchIfRef(this.res.get("Font"));
|
||||||
if (!IsDict(font))
|
if (!IsDict(font))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
1
test/pdfs/DiwanProfile.pdf.link
Normal file
1
test/pdfs/DiwanProfile.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://oannis.com/DiwanProfile.pdf
|
@ -42,5 +42,11 @@
|
|||||||
"link": true,
|
"link": true,
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
|
},
|
||||||
|
{ "id": "openoffice-pdf",
|
||||||
|
"file": "pdfs/DiwanProfile.pdf",
|
||||||
|
"link": true,
|
||||||
|
"rounds": 1,
|
||||||
|
"type": "load"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user