Tweak initial page transform information gathering
commit18f82268b28ada5f996a5cf591b0a0a1911975ed
authormalc <av1474@comtv.ru>
Mon, 14 Jun 2010 17:46:52 +0000 (14 21:46 +0400)
committermalc <av1474@comtv.ru>
Mon, 14 Jun 2010 17:46:52 +0000 (14 21:46 +0400)
tree8159988d9a676bfd18f851de3753fc7b3d917872
parentbeea324d9f8b47bb09834500e5b09605345dfddc
Tweak initial page transform information gathering

This avoids calling pdf_getpageobject for every page allowing
monstricity which is [1] (5567 pages, 43 megabytes) load in 0.021
instead of 33.637 seconds.

The new code is basically slightly tweaked pdf_getpagecountimp from
mupdf.

[1] "ECMA-376, Second Edition, Part 1 - Fundamentals And Markup Language Reference.pdf"
link.c