Make fonts getting loaded by a very nasty hack

This commit is contained in:
Julian Viereck 2011-06-22 09:15:55 +02:00
parent e15328800a
commit 61b76c7e87
4 changed files with 33 additions and 24 deletions

View file

@ -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