Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-01-2012, 02:04 AM   #106
Tsukasa
Junior Member
Tsukasa began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2012
Device: Kindle Touch
screen refresh is useless IMHO
i'm used it a few times for testing only, when reading i forget about it completely maybe we can use button for more reasonable purposes

fb2.zip is cool, can you upload compiled version?

PS and need numbers in search dialog
Tsukasa is offline   Reply With Quote
Old 04-01-2012, 04:09 AM   #107
lukeroge
Enthusiast
lukeroge began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
I agree, a compiled version would be great for us who don't have the time to set up a compilation environment.
lukeroge is offline   Reply With Quote
Advert
Old 04-01-2012, 07:27 AM   #108
bhaak
Groupie
bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.
 
bhaak's Avatar
 
Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
Quote:
Originally Posted by varnie View Post
by the way, what do you think about the screen refresh? does we need it? as for me, I don't see any reasons for that, but am sure it can be implemented. (we already have "eips -c" for that).
I think too that automatic screen refreshing isn't absolutely needed. Only when going from the menus to the text I often would like to have.

But when only reading text, it's mostly not needed IMO.
bhaak is offline   Reply With Quote
Old 04-01-2012, 08:52 AM   #109
varnie
Connoisseur
varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 99
Karma: 30196
Join Date: Dec 2011
Device: Kindle Touch
Hi all.
I uploaded a fresh version.
Tsukasa, in addition to the changes I have already mentioned, it includes the updated Search dialogue you asked for. ^_^
here it is
varnie is offline   Reply With Quote
Old 04-06-2012, 08:58 AM   #110
amalewolf
Junior Member
amalewolf began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2012
Device: kindle touch
hello ,thanks for your work!

i have a question:

the chinese characters can not be displayed correctly,they just some “?”on the kindle touch screen

can you help me ?

thx a lot!
amalewolf is offline   Reply With Quote
Advert
Old 04-06-2012, 01:59 PM   #111
yiming
Zealot
yiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animals
 
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
@varnie, bhaak

as reported by amalewolf, Chinese characters are not shown in epub books, but txt files are ok. as for mobi books, it seems that books with Chinese titles will crash the reader, whereas those with English titles are ok.

hope you can solve the problems. many thanks.
yiming is offline   Reply With Quote
Old 04-06-2012, 07:10 PM   #112
bhaak
Groupie
bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.
 
bhaak's Avatar
 
Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
Quote:
Originally Posted by yiming View Post
@varnie, bhaak

as reported by amalewolf, Chinese characters are not shown in epub books, but txt files are ok. as for mobi books, it seems that books with Chinese titles will crash the reader, whereas those with English titles are ok.

hope you can solve the problems. many thanks.
I tested it with the 2 epubs from this link: http://openinkpot.org/ticket/297

Both with the standard and our own freetype library.

test.epub showed only '?' but that was to be expected as I don't have a font on my Kindle Touch that supports chinese characters.

test_embedded_font.epub worked perfect because it had an embedded font.

For testing it would be best if somebody could provide us files that make the program crash (preferably some free samples).
bhaak is offline   Reply With Quote
Old 04-07-2012, 01:56 AM   #113
Culex
Member
Culex began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
Ok, I added HackedUpReader from Varnie. Have to say it's a little different figuring things out. Would be great to sort by Series, and I really don't need to see file extensions, just Titles.

Also I noticed the default ebook viewer has a process called cvm that can use up to 50% cpu usage while cr3 uses a max of about 22%. Yeah.... Longer battery life.
Culex is offline   Reply With Quote
Old 04-07-2012, 06:22 AM   #114
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
In fact, both readers should need 0% CPU when idle and aquire up to 100% when calculating. The 22%/50% values are no valid measures - at least if you were just sitting and watching the output of "top". If you're interested in getting reliable measurements, I suggest to measure CPU time consumed. Have a look at /proc/<PID>/sched, if you want "hard numbers" :-)
(The CVM will probably have a big startup overhead, which should probably be taken into account.)
hawhill is offline   Reply With Quote
Old 04-07-2012, 07:29 AM   #115
amalewolf
Junior Member
amalewolf began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2012
Device: kindle touch
hi,yiming

with my poor english ,i guess your meaning is: in a whole English book,a few chinese words can be correctly show,but in my test:

the Chinese Edition《Steve Jobs:A Biography》 ,when its title is Chinese, the format in txt/epub,the book is "???" ;when its title is English ,the txt/epub also "???".
and for the mobi,if i change a chinese book'titel into English ,it's also only "???".

i don't konw why~~

Last edited by amalewolf; 04-07-2012 at 07:36 AM.
amalewolf is offline   Reply With Quote
Old 04-07-2012, 08:12 AM   #116
amalewolf
Junior Member
amalewolf began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2012
Device: kindle touch
hi,bhaak

i test the two epubs ,i have the same result like you.
this is the book only show in "????",you can named them in english but no change in the result;and the ttf in my kindle
Attached Files
File Type: rar Desktop.rar (4.46 MB, 242 views)
amalewolf is offline   Reply With Quote
Old 04-07-2012, 09:54 AM   #117
bhaak
Groupie
bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.
 
bhaak's Avatar
 
Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
Quote:
Originally Posted by amalewolf View Post
hi,bhaak

i test the two epubs ,i have the same result like you.
this is the book only show in "????",you can named them in english but no change in the result;and the ttf in my kindle
Ah, so there are two issues:

1. The titles of the books are somehow invalid. They are not valid UTF-8 and that's they can't be shown correctly. There's nothing the program can do about that.

2. The fonts in the books aren't showing up. For the epub there's a work-around:
Open the "Main Menu" -> "Settings menu" -> "Document embedded styles" -> Off

With "Default font face" being Code2000, the epub works for me. The txt doesn't but I don't know why.

The problem with the epub is that the CSS in that epub wants to use a font this way:
Code:
@font-face {
font-family:"cnepub";
src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf), url(res:///tt0011m_.ttf);
}
My guess is that because this font can't be found on the Kindle Touch, the program falls back to the default font (Caecilia IIRC) and not one the one configured in the menu.
bhaak is offline   Reply With Quote
Old 04-07-2012, 10:42 AM   #118
varnie
Connoisseur
varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.varnie can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 99
Karma: 30196
Join Date: Dec 2011
Device: Kindle Touch
I added an optional page refresh to the reader. It can be set in the Settings dialogue.
The one small inconvenience is that the battery status icon underwent a few changes, and now appears a little differently than it did before. This issue is detailed here: https://www.mobileread.com/forums/sho...3&postcount=27 (if you cares).
This feature is highly experimental, so do not expect too much from it

here is the fresh build: https://github.com/downloads/varnie/...-varnie.tar.gz
varnie is offline   Reply With Quote
Old 04-07-2012, 05:03 PM   #119
Culex
Member
Culex began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
Quote:
Originally Posted by hawhill View Post
In fact, both readers should need 0% CPU when idle and aquire up to 100% when calculating. The 22%/50% values are no valid measures - at least if you were just sitting and watching the output of "top". If you're interested in getting reliable measurements, I suggest to measure CPU time consumed. Have a look at /proc/<PID>/sched, if you want "hard numbers" :-)
(The CVM will probably have a big startup overhead, which should probably be taken into account.)
touché. Actually when comparing cpu usage I was merely looking at top while turning pages. It wasn't meant to be an all inclusive test. I've read that battery life is consumed when turning pages, not when idling.

cvm does have a large overhead and loaded automatically at startup.
Culex is offline   Reply With Quote
Old 04-08-2012, 01:33 AM   #120
amalewolf
Junior Member
amalewolf began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2012
Device: kindle touch
hi,bhaak,thanks a lot!
i change the setting as you said.And not only the epub ,but also the txt are all shown correctly.I also don't know why ~

I am a literature student,I don't understand the code you'v written there,sorry~~.But I have an idea about the titles of the books only shown as"????": I find that-- in the menu, the "Default font face" only changes the content of the book.The font of the program can't be changed.So,if we change the default font of the program into Code2000,the titles can be shown correctly,I think.
amalewolf is offline   Reply With Quote
Reply

Tags
epub, launcher add-ons


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Raccoon Reader - reads ePub, fb2, fb2.zip, txt on WP7 for free Andrei_Shvydryk Reading and Management 0 10-31-2011 03:17 PM
inserting blank lines into rtf/txt/html errata Ectaco jetBook 7 07-10-2010 09:16 PM
rtf -- > epub / fb2 conversion Brandobras Calibre 2 04-14-2010 01:24 AM
TXT, RTF, and HTML conversion issues daesdaemar Calibre 15 12-10-2008 09:05 PM
ereader pdb to rtf, txt, anything? Dave Berk Reading and Management 11 03-24-2007 07:45 PM


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


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