View Single Post
Old 08-16-2012, 05:22 PM   #297
idoit
Plus
idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.
 
idoit's Avatar
 
Posts: 367
Karma: 262144
Join Date: Jan 2012
Location: Tehran, Iran - Halifax, Canada
Device: N/A
First of all, sorry as this is going to be a very verbose post (any longer post, guys?!) and sorry ixtab in particular for gradually swaying your thread
Spoiler:
but I guess it was an important issue that was worth pointing out some where!


Quote:
Originally Posted by NiLuJe View Post
Like I said, FT's not in charge of the layout, which seems to be the issue here .
Yes sir. Confirmed. I was about to say that 6.8.1 is the reason alphabets are separated but to my great surprise I opened an article which had them connected! So I'm confused myself too!!! AZW3 reader is just buggy I think.

Quote:
Originally Posted by NiLuJe View Post
Is this the only file you have an issue with in Persian? Or is it always broken? I'm not sure I understood if it's working correctly in mobi6, or if it's only 'working', but LTR?
No, issue is all over place, many books don't show up or if show up after a while they crash. Please read further.
Sorry to be confusing (as I'm too). So I'll try to make it clear, dissect and explain the issue here:

Spoiler:


TERMINOLOGY: mobi6 = mobi, mobi8 = KF8 = azw3 (right?!)

1. mobi documents:
With libfreetype.so.6.8.1: they're disconnected (for sure).
With older libfreetype.so.6: fine.
(and in both case, obviously as mobi doesn't store RTL tags, words are from LTR )
2. azw3 documents:
In both cases, RTL is fine. (so @geekmaster: please discard my pm and previous posts.)
Very unstable results in both cases, so can't say anything as it's flaky, for some documents 6.8.1 shows them connected, for some disconnected. With older libfreetype, it's always connected as far as I have tried!!! So regardless of version of libfreetype, some azw3 documents show great, some are full white or full black pages.

Funny example:
When opening Persian_Sample_Article.azw3, first time, it shows the crash dialog that geekmaster talked about. Try to open it again... it opens a blank screen, but when you go to next pages (it takes forever, so be patient). You have to swipe a lot of times, and if you monitor it with "showlog -f" you'll see crazy amount of errors... continue swiping until it goes to location 18% or so and you'll see a page.

INTERESTING finding: 1. Try to Go To End page and you'll see a dialog that says "Before you go" Rate this book and share!!! I've never seen this for regular books!!! I don't know! Is this something Calibre adds to the book?

When swiping to next page:
Spoiler:
Code:
[!]120816:150455 cvm[7586]: java.lang.NullPointerException
 [!]120816:150455 cvm[7586]:     at  com.amazon.ebook.booklet.reader.plugin.acxreaderplugin.position.model.p.nextPageEvent(elf:506)


2. Even after closing the bookreader, cvm has locked the azw3 books as when I try to delete it, it gives a .fuse file! gross.

Spoiler:
Code:
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
cvm     1385 root  335r   REG   0,15    38361 9980 .fuse_hidden000026fc00000005
cvm     1385 root  355r   REG   0,15    38361 9980 .fuse_hidden000026fc00000005


Errors when reader crashes:
Spoiler:
Code:
120816:134408 cvm[1385]: E HTMLBookView:Error::Failed to render the page content
[!]120816:134408 cvm[1385]: java.io.IOException: drawPage failed with code=672
[!]120816:134408 cvm[1385]:     at com.amazon.ebook.booklet.htmlreader.impl.HTMLRenderer.drawPage(Native Method)
.
.
.
120816:134408 cvm[1385]: C ErrorHandlerImpl:CriticalError::drawPage failed with code=672
[!]120816:134408 root: Error /home/jenkins-official/src/yoshi/juno_2_0_1/OFFICIAL/apps/mobi8/jni/renderer/communicator.c:140
[!]120816:134408 root: Error /home/jenkins-official/src/yoshi/juno_2_0_1/OFFICIAL/apps/mobi8/jni/renderer/renderer.c:331
[!]120816:134408 root: Error  /home/jenkins-official/src/yoshi/juno_2_0_1/OFFICIAL/apps/mobi8/jni/renderer/com_amazon_ebook_booklet_htmlreader_impl_HTMLRenderer.c:671
[!]120816:134408 root: Error  /home/jenkins-official/src/yoshi/juno_2_0_1/OFFICIAL/apps/mobi8/jni/renderer/com_amazon_ebook_booklet_htmlreader_impl_HTMLRenderer.c:757
[!]120816:134408 cvm[1385]: An error occurred. If you purchased this  item from Amazon, delete the item and download it from Archived  Items.


AZW3 Reader is crazy:
After opening first article, I opened Persian_Sample_Article_2.azw3 and after swiping back the reader showed me pages of Persian_Sample_Article.azw3 ?!!!

Reader crashes even after successfully rendering some pages! I'm sure it's not a memory full error as I checked it. It's just that AZW3 reader is not ready on KT yet.


Summary: @NiLuJe and @ixtab: As Kovid said AZW3 renderer of Kindle Touch is crap. It's very flaky, sometimes it opens the 2 sample files that I attached and sometimes not. The issue seems to be neither of marvelous FontHack plugin nor libfreetype, but AZW3 reader in KT.
I chose to let FontHack stay but with old libfreetype.

Anyways... until Amazon deals with AZW3 RTL languages, I'm going to convert to PDF or save as HTML and read it with CoolReader3. (Should find a way for HTML files to be shown on the home screen and put them in a collection with Collection Manager)

Quote:
Originally Posted by NiLuJe View Post
Thanks for checking, though . (And check the log on the SVN stuff, I never delete anything, so there's stuff in there that I haven't used in a couple of years, if not more, so some stuff might be outdated ).
I sure will... It's treasure. Keep it up baws (i.e. boss ).
Attached Thumbnails
Click image for larger version

Name:	Rate_and_Share.gif
Views:	79
Size:	10.4 KB
ID:	90880   Click image for larger version

Name:	azw3_black.gif
Views:	74
Size:	2.8 KB
ID:	90881   Click image for larger version

Name:	azw3_what!.gif
Views:	84
Size:	29.7 KB
ID:	90882   Click image for larger version

Name:	azw3_new_libfree.gif
Views:	91
Size:	82.7 KB
ID:	90883   Click image for larger version

Name:	mobi_new_libfree.gif
Views:	77
Size:	30.9 KB
ID:	90884  

Last edited by idoit; 08-16-2012 at 07:40 PM.
idoit is online now   Reply With Quote