View Single Post
Old 08-04-2011, 12:12 PM   #37
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by pruss View Post
....I suppose how it works in practice depends on the shape of the paragraph, etc. And if you double tap on an image, I suppose it will fill the image?

I wonder how it would work on a pdf where the text is implemented in images (e.g., some scanned books). I suppose it would zoom in to wherever the boundaries of the whole image are? One question to ask is this: In pdfs where the text is implemented in images, are the images all one piece, or are they tiled? If tiled, we might get wrong behavior if we zoom in on the current image. Some experimenting is worthwhile.
Love your thought process purss, very thorough. I actually couldn't answer you off the top of my head I had to run some experiments on the different types of PDF one might run into the results are below. I ran these test on ezPDF and Repligo. They both had the same behavior.


Thre are four types of PDF's a user most likely use.
1) Text base PDF
2) Text base PDF with embedded images
3) Image based PDF
4) Image based PDF with Scanned OCR below/above image.

Double tapping on text
For all except type 3 double tapping on the paragraph would zoom in the text to fill the screen. Type 3 would always zoom in to a default value.

Double tapping on images
Only type 2 would zoom the image to fill the screen. Type 3 & 4 always zoomed in to a the same default value. Type 1 was omitted for obvious reasons.

The file used for type 3 & 4 was the same file. One was scanned from a book and saved as an images based PDF. Type 4 was then scanned with Finereader where the text was stored underneath the image.

Quote:
Originally Posted by pruss View Post
I can imagine how one could get used to it.

There are also possible patent issues.
Baby steps I think you need to first worry about being able to zoom, before worrying about Apple coming after you for pinch to zoom PDF

Quote:
Originally Posted by pruss View Post
I should note that for all the texts I read, there isn't much of a zoom issue. I just zoom in past the page margins, and can read the whole page just fine in portrait on my 480x854 4.3" screen. I can imagine that if a book used particularly small font, or my eyesight were not as sharp (and one day it won't be), this wouldn't be so easy.
True I would say for me it is a little more than half my books can be read without fussing with zoom. However mostly those books I just enable the reflow.

Quote:
Originally Posted by pruss View Post
0.3.0pre12 is by default using CropBox, but this can be configured in the options. See if this fixes it.
I tried this program this morning and the CropBox setting is working. I played with the config options and set the app to "trim". This however was not working.

If you look at the PDF I sent you, see your PM. You'll see that PDF has 4 crosshairs, one on each corner. Those are the trim settings. Most PDF readers truncate on those crosshairs.



=X=
=X= is offline   Reply With Quote