Make fonts getting loaded by a very nasty hack
This commit is contained in:
parent
e15328800a
commit
61b76c7e87
4 changed files with 33 additions and 24 deletions
|
@ -48,7 +48,7 @@ onmessage = function(event) {
|
|||
|
||||
tic();
|
||||
// Let's try to render the first page...
|
||||
var page = pdfDocument.getPage(1);
|
||||
var page = pdfDocument.getPage(8);
|
||||
|
||||
// page.compile will collect all fonts for us, once we have loaded them
|
||||
// we can trigger the actual page rendering with page.display
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue