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-02-2006, 05:22 PM   #1
Malder1
Connoisseur
Malder1 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Aug 2006
I found way to vastly improve displaying of text!

I found way to vastly improve displaying of text on iLiad!

I love iLiad and the display is perfect, but I think that my iLiad can more:

I noticed that letters on virtual keyboard look more sharp than letters displayed in PDF textes. After long investigation I found that as in Acrobat Reader, iRead (in xPDF) uses simple bilinear resizing of text symbols and all letters a little blurred, not enough crisp, and gritty.

After this I captured screenshot of this text in Word to BMP image and then transferred file to iLiad. Note that I don't use ClearType.

I was totally impressed how good iLiad displayed same text as BMP file image now! Very crisp, but antialiased symbols! So you see that your iLiad can more!

If you will test this moment, note that image should be a little smaller than display to prevent resizing of an image.

The question.
How to prepare book in pre-rendered images? I don't know how to create PDF file with rightly calculated size of images to prevent resizing of BMP images.

I again should say that iLiad is amazing ebook, and I think that Sony/Hanlin uses same text rendering problem because Microsoft uses special high quality antialiasing of text.
Malder1 is offline   Reply With Quote
Old 10-02-2006, 06:10 PM   #2
CommanderROR
eink fanatic
CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.
 
CommanderROR's Avatar
 
Posts: 2,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
This is great news indeed!!!
I had been wondering about the strangely grainy letters for a long while!
I'll try to find a way to do this for my books, but I don't know how...I use OpenOffice to create PDF files, but those are text-based and not image based, so I woul dhave to convert the PDF files I get to image-based PDFs that don't use anti-alias or something...ah...can somebody work this out for me please?
CommanderROR is offline   Reply With Quote
Advert
Old 10-02-2006, 06:15 PM   #3
tribble
iLiad Maniac
tribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it is
 
tribble's Avatar
 
Posts: 1,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
I am a lazy person, could you upload the PDF and the corresponding bmp file?
Thanks
tribble is offline   Reply With Quote
Old 10-02-2006, 06:26 PM   #4
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
Uh folks, if you read scanned PDF's on the iLiad (or Sony Reader) they'll be scaled to fit and not look their best.

If on the other hand you OCR and create the PDF (or work from Baen/Gutenberg sources) the iLiad will use nice crisply generated glyphs.

If you can crop enough margin off to get to 1 to 1 then there will be no scaling of the image (and thus of the glyphs inside the image.)

You can also use my rotate tool to decrease the amount of scaling on scanned PDF's to have them look better as well.

Bi-linear scaling is faster than bi-cubic scaling. Using bi-linear will help improve battery life.

Moral of the story: OCR'd PDF's (e.g. text PDF's) are clearer than non-OCR'd PDF's (e.g. image per page PDF's.)
scotty1024 is offline   Reply With Quote
Old 10-02-2006, 06:30 PM   #5
Malder1
Connoisseur
Malder1 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Aug 2006
scotty1024,
I meant true text as fonts in PDF. And

I attached text in PDF and part of same text in PNG.

Upload to iLiad and feel the difference! PNG image looks more crisp, isn't it?
Attached Thumbnails
Click image for larger version

Name:	TextAsPNG.png
Views:	775
Size:	20.3 KB
ID:	1661   Click image for larger version

Name:	TestPNG.png
Views:	678
Size:	15.4 KB
ID:	1683   Click image for larger version

Name:	TestPNG_Arial.png
Views:	656
Size:	17.3 KB
ID:	1684  
Attached Files
File Type: pdf TextAsPDF.pdf (23.5 KB, 571 views)
File Type: pdf TestPDF.pdf (36.7 KB, 691 views)
File Type: pdf TestPDF_Arial.pdf (29.4 KB, 536 views)

Last edited by Malder1; 10-03-2006 at 05:12 PM.
Malder1 is offline   Reply With Quote
Advert
Old 10-02-2006, 07:09 PM   #6
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
Sorry, now I understand what you are pointing out.

Your document uses a media box larger than the screen of the iLiad. This then forces the iLiad to scale your text PDF's as well.

The text should look crisp even then but here your document falls into a typographic trap.

In a perfect world one would render from the outline information included in the font file to make wonderful looking glyphs for each character at whatever size is requested.

In the real world the rendering engine cheats to keep performance high. Built in fonts will have so called "pre-rendered glyphs" e.g. already rendered characters for the even type sizes: 12, 10, 8. To get the odd sizes the engine will scale the existing even glyphs.

But to make matters worse...

When you scale a letter sized document down to an iLiad screen a 12pt font will be roughly 7pt, not precisely 7pt. The rendering engine will do what it can but the resulting glyph is not going to look as sharp as it could.

In Postscript one could turn off this pre-rendering behavior, the laser printer would take more memory and more time, but your marked pieces of paper would be crisper.

I don't know if xpdf supports doing that, and even if it does, iRex would have it turned on to keep speed up and battery use lower.

What do I do?

I use a font I bought: Tiresias (http://www.myfonts.com/fonts/bitstream/tiresias/) and have it embedded into my PDF documents (automatic in most cases.)

I set the font size above 14pt (to avoid pre-rendered glyphs), use the correct media box (iLiad actual viewable area sized) and I get text so crisp and sharp I can shave with it.
scotty1024 is offline   Reply With Quote
Old 10-02-2006, 07:10 PM   #7
Malder1
Connoisseur
Malder1 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Aug 2006
I created 759 x 933 image (and 158 dpi) in Photoshop then choosed PDFCreator as printer and in page properties set 122 x 150 mm.
And I've got PDF with text as image which looks crystally sharp.
Malder1 is offline   Reply With Quote
Old 10-03-2006, 03:50 AM   #8
kusmi
Connoisseur
kusmi began at the beginning.
 
kusmi's Avatar
 
Posts: 73
Karma: 16
Join Date: Jul 2006
Location: Zurich, Switzerland
@scotty2^10

it seems iLiad only does anti-aliasing on text, not on images, that's why scanned books do not look so crisp, as the scaling mechanism is a very simple one with no smoothing...
kusmi is offline   Reply With Quote
Old 10-03-2006, 04:03 AM   #9
ali
Addict
ali doesn't litterali doesn't litter
 
ali's Avatar
 
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
Quote:
Originally Posted by scotty1024
I set the font size above 14pt (to avoid pre-rendered glyphs), use the correct media box (iLiad actual viewable area sized) and I get text so crisp and sharp I can shave with it.
I still don't get it fully. So xpdf chooses to uses bitmap fonts (with bitmap scaling) over drawing outline/vector glyphs, if the font size is below a certain threshold?

How is this threshold defined? Height, in pixels, on screen? (Or in pt, assuming xpdf knows the screen resolution) Or pt size in document coordinates?

That is, in the latter case I could make all my documents A0 with 100pt-fonts, which would be scaled to the screen size, but prohibits use of bitmap fonts.

In the former case I would simply have to use exotic fonts for which there are no bitmaps on the Iliad, right?
ali is offline   Reply With Quote
Old 10-03-2006, 04:16 AM   #10
ath
Addict
ath doesn't litterath doesn't litter
 
Posts: 222
Karma: 110
Join Date: Jun 2006
Location: Malmo, Sweden
Device: iLiad, Sony PRS-505, Kindle Paperwhite & Oasis
Quote:
Originally Posted by ali
So xpdf chooses to uses bitmap fonts (with bitmap scaling) over drawing outline/vector glyphs, if the font size is below a certain threshold?
At first sight, this seems improbable. xpdf *may* do it, in general, but then it needs to have a bitmap font file around somewhere ... and that can't really be expected for anything but the standard PDF typefaces (Times, Helvetica, etc.).

However, if there really is such a bitmap font file around, the result is very likely to look better -- the raster glyphs would typically have been hand tuned.
ath is offline   Reply With Quote
Old 10-03-2006, 04:21 AM   #11
Malder1
Connoisseur
Malder1 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Aug 2006
Its seems that xPDF just renders any text fonts as bitmap in 4x larger than necessary (without antialiasing at all) and then reduces it back using bilinear resizing. It gives font smoothing.

Same font smoothing at least old Acrobat Reader versions uses on PC.

Anybody can say iRex about this problem?
Malder1 is offline   Reply With Quote
Old 10-03-2006, 02:18 PM   #12
The GreatGonzo
Old Yeller
The GreatGonzo is on a distinguished road
 
The GreatGonzo's Avatar
 
Posts: 180
Karma: 67
Join Date: May 2006
Device: Iliad & Kindle - The Best of Both Worlds
Quote:
Originally Posted by scotty1024
Uh folks, if you read scanned PDF's on the iLiad (or Sony Reader) they'll be scaled to fit and not look their best.

If on the other hand you OCR and create the PDF (or work from Baen/Gutenberg sources) the iLiad will use nice crisply generated glyphs.
...
Moral of the story: OCR'd PDF's (e.g. text PDF's) are clearer than non-OCR'd PDF's (e.g. image per page PDF's.)
Which is why I'm thinking we should probably have a nice thread somewhere on scanning and OCR - what scanners are good for the average home user, what OCR software to use, reviews, recommendations, personal tales of horror and joy - anyone?

I would really like to start scanning my Winnie-the-Pooh books so I can read them to the kids wherever...

I have a scanner/printer combo monster that's really impractical for book scanning - can anyone recommend a small one that could process, say, a paperback in a reasonable amount of time? And I'm totally at a loss as to which OCR software to choose...
The GreatGonzo is offline   Reply With Quote
Old 10-03-2006, 06:10 PM   #13
Malder1
Connoisseur
Malder1 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Aug 2006
I've attached two photos of iLiad screen I did with Canon 350D camera.

iLiad PDF.jpg - text displayed in PDF file. You see that symbols has jaggies.

iLiad PNG.jpg - same .doc text opened in Word, PrintScr key and saved as PNG image. You see that symbols look clear and sharp.
Attached Thumbnails
Click image for larger version

Name:	iLiad_PDF.jpg
Views:	639
Size:	38.8 KB
ID:	1686   Click image for larger version

Name:	iLiad_PNGText.jpg
Views:	623
Size:	35.8 KB
ID:	1687  
Malder1 is offline   Reply With Quote
Old 10-03-2006, 06:47 PM   #14
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
Quote:
Originally Posted by The GreatGonzo
Which is why I'm thinking we should probably have a nice thread somewhere on scanning and OCR
There is one. Paul has posted his process for scanning out of copy right books. He prefers to keep the books in scanned form, in order to preserve their look and some of the "feel" but you can follow his recipe and insert OCR at the end.
scotty1024 is offline   Reply With Quote
Old 10-03-2006, 07:39 PM   #15
The GreatGonzo
Old Yeller
The GreatGonzo is on a distinguished road
 
The GreatGonzo's Avatar
 
Posts: 180
Karma: 67
Join Date: May 2006
Device: Iliad & Kindle - The Best of Both Worlds
Well, I was hoping for input from more than one user - for starters, the HP Scanner/Printer Paul is using is way out of my league, so if somebody has found a more economic solution, I wouldn't mind hearing about it.

Also, I'm pretty clear on how to scan and how to have a pdf file as the end result - but I would like to know more about the different OCR options.
The GreatGonzo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Actually found "Text to Speech" Useful! Gideon Amazon Kindle 16 03-17-2009 04:02 PM
Is there a way to improve the look up function ? enzo.sandrolini Bookeen 8 07-26-2008 01:10 PM
to iRex: how to improve the ui vvoi666 iRex 25 07-01-2008 10:29 PM
Cybook not found in linux, found in win XP fjf Bookeen 15 01-18-2008 07:57 PM
How would you improve the V3? try_again HanLin eBook 26 01-11-2008 07:11 AM


All times are GMT -4. The time now is 07:56 AM.


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