Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2006, 01:17 AM   #1
reh_reh
Junior Member
reh_reh began at the beginning.
 
reh_reh's Avatar
 
Posts: 3
Karma: 10
Join Date: Jul 2006
Location: Memphis, TN
over 2 mins to render PDF page

Hello everyone.

I've greatly enjoyed my Iliad. It's a convenience to be able to read most of my medical articles, and my fiction books on the device.

Today, I was reading a PDF file, where a page took over 2 minutes to render. Is this an error with the PDF viewer? The page is not very graphic-intensive. I've attached the file for your perusal- page number 4 is the one in question.

On a side note, I've been following Scotty's many contributions with keen interest. It's fun to watch someone good at their craft at work.
Attached Files
File Type: pdf pancreatic cystic resection.pdf (774.6 KB, 2019 views)
reh_reh is offline   Reply With Quote
Old 10-29-2006, 06:48 AM   #2
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Glad I've been able to share some fun with you.

Your document looks all sweet and innocent but inside it is quite the complex beastie. Page 4 has one chunk of 69356 bytes of postscript drawing directives, no images in that mind you, just put text here, draw line there.
Page 5 has one chunk with 120885 bytes! Again, no image data, just pure draw text, draw line, fill box..

In addition page 4 also has a couple images, some Adobe Illustrator CS2 generated EPS metadata, complete with thumbnail images(!), and uses 10 fonts, all of them embedded. Example: GBACLG+MathematicalPi-Four, GBABFF+StoneSans-Semibold and GBACMD+TimesNewRomanPS-BoldItalic.

These are technically known as "complex pages".

I'm personally impressed that poppler managed them in 2 minutes.

Each embedded font requires building the text glyphs by hand from scratch based on drawing directives for each character. Poppler would like to cache all of that hard work away for re-use but the document is so typographically rich with various fonts I'm sure the glyph cache is overwhelmed causing poppler to have to keep drawing and re-drawing the various font glyphs.

The rich collection of super-scripted attributions are kicking poppler in the ribs when it's already on the floor rolling around. The document is using a highly shrunk font to do the super-scripts without adjusting the line height.

Even my Mac struggled mightily to render the document when I opened it and it has 4GB of RAM and two dual core CPU chips.

As far as I can tell the only PDF feature they didn't use were page thumbnails.

With a document this complex the only thing you can do to speed it up on an iLiad class device is to in essence "print" the pages to bitmaps which would drastically reduce the workload for the iLiad since it need only decode the bitmap for each page and throw it up on the screen.
scotty1024 is offline   Reply With Quote
Advert
Old 10-29-2006, 01:07 PM   #3
reh_reh
Junior Member
reh_reh began at the beginning.
 
reh_reh's Avatar
 
Posts: 3
Karma: 10
Join Date: Jul 2006
Location: Memphis, TN
Thanks Scotty for the quick response.
reh_reh is offline   Reply With Quote
Old 10-29-2006, 04:03 PM   #4
vranghel
Addict
vranghel began at the beginning.
 
vranghel's Avatar
 
Posts: 285
Karma: 10
Join Date: Apr 2006
Location: Vancouver, Canada
Device: Proud Iliad owner
Quote:
Originally Posted by scotty1024
Even my Mac struggled mightily to render the document when I opened it and it has 4GB of RAM and two dual core CPU chips.
My crummy Celeron 2.8 GHz and 500 Mb took only a couple seconds to open the file in Foxit Reader 2.0.

Probably you used Acrobat to open the file....
I stopped using Acrobat almost altogether;
vranghel is offline   Reply With Quote
Old 10-29-2006, 06:52 PM   #5
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
No, I used Preview but it goes ahead and renders all the pages for you. Normally its blink and every page in the entire file is available but this one I could count a couple Mississippi's.

I have a PDF rasterizer tool for the Librie, might be time to tweak it for the iLiad.
scotty1024 is offline   Reply With Quote
Advert
Old 11-10-2006, 12:43 PM   #6
vvv
Zealot
vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.
 
Posts: 137
Karma: 1936
Join Date: Aug 2006
Device: iLiad, Librie, REB1100, GEB2150, GEB1150, etc
Quote:
Originally Posted by vranghel
I stopped using Acrobat almost altogether;
Me too, I am practically not using Acrobat. But with this file I was surprised: Acrobat works with it without any visible delays
vvv is offline   Reply With Quote
Old 11-11-2006, 07:57 AM   #7
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Adobe really boosted performance of their tools in the 7.0 series.

It really is a case of "Have you tried Acrobat recently?"

Poppler's rendering times haven't exactly been impressing me. Even on simple pages where it has but a single font and only text to render it finds a way to spend 2.6 seconds creating the bitmap.
scotty1024 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Huffington post dload takes 70 mins - normal? thetonyclifton Recipes 1 09-29-2010 11:39 AM
An algorithm to render PDF in small devices caritas PDF 111 05-18-2010 10:50 AM
Pre-render and cache PDF pages? nekokami iRex 3 07-02-2008 03:26 AM
Environmental study: 30 min of e-paper reading = 30 mins of print reading Steven Lyle Jordan News 36 12-14-2007 03:29 PM
merge pdf page by page jakeluck Sony Reader 4 12-19-2006 02:27 PM


All times are GMT -4. The time now is 11:50 AM.


MobileRead.com is a privately owned, operated and funded community.