On 2014/05/18 13:41, patrick keshishian wrote: > Hi, > > I noticed with PostgreSQL 9.2.x releases that their > documentation file in PDF (US) format took a > considerable time longer to open using xpdf compared > with the 9.1, and earlier PDF files I had. > > With Pg 9.3.x I see the same, so I started to wonder > and noticed that the currently available 9.1 PDF on > their site[1] advertises a much smaller file than what > I have on my local drive: 6.0 MB vs 8.7M respectively. > I grabbed the smaller 9.1 document, and it too takes > a long time to open: > > Opening the (smaller) 6M postgresql-9.1-US.pdf (version 9.1.13) > takes 49.54s.[2] > > Opening the (larger) 8.7M postgresql-9.1-US.pdf (version 9.1.3) > takes 1.95s.[2] > > On a MacBook Pro all documents open so quickly it is > difficult to time them. I am not sure if this is due to some > sinister caching OS X uses or simply a better document > parsing in Preview (and of course, a faster CPU). > > Does anyone (with PDF knowledge) know if this is due > to some compression being used in generating these > documents? Obvious guess due to size shrink. > > Last update to xpdf was in August 2011, so I'm not > sure if author would be interested in this report, I > will forward a copy of this message to them anyway. > > --patrick > > [1] http://www.postgresql.org/docs/manuals/ > [2] cpu0: AMD E-350 Processor, 1597.54 MHz >
Slow with xpdf for me too. mupdf opens them quickly though. Perhaps they are created with a different version of TeXLive or post-processed with a different iTEXT, either of which could do something differently that xpdf doesn't like? Current ones (according to 'pdftk postgresql-9.3-A4.pdf dumpdata') are: InfoValue: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) kpathsea version 6.1.0 InfoValue: pdfTeX-1.40.13; modified using iText® 5.1.3 ©2000-2011 1T3XT BVBA
