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 03-02-2011, 04:05 PM   #481
FethryDuck
Addict
FethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enough
 
FethryDuck's Avatar
 
Posts: 281
Karma: 520
Join Date: Nov 2010
Location: sometimes Norway, planet Earth
Device: Kindle3, DXG
Version 0224

Several errors exist -
- in some menus, the Aa key seem to be mixed with enter ( perhaps related to the Aigo EB800 ? )
- fonts does not work as it should. Tested a few temporary solutions, but that only had to do with the Chinese fonts, as far as I could tell.

hmm.. maybe set change the font in the config.ini file:
EnglishFontPath=/usr/java/lib/fonts/Helvetica_LT_65_Medium.ttf
..if you know another fontfile name of the normal Amazon software, then in the meantime, you may replace it here.

Last edited by FethryDuck; 03-02-2011 at 04:10 PM.
FethryDuck is offline   Reply With Quote
Old 03-04-2011, 03:56 AM   #482
pond
Junior Member
pond began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2011
Device: kindle 3
Quote:
Originally Posted by FethryDuck View Post
Version 0224
hmm.. maybe set change the font in the config.ini file:
EnglishFontPath=/usr/java/lib/fonts/Helvetica_LT_65_Medium.ttf
..if you know another fontfile name of the normal Amazon software, then in the meantime, you may replace it here.
changing that line works to change the english font. I copied a .ttf file in the \DK_System\system\font folder and changed that line so that it would load this one

EnglishFontPath=/mnt/base-us/DK_System/system/font/cour.ttf

and it changed the font, but it did it not only when reading a book. It did it also in the menus, which can screw how menus look in certain cases because of the different size of the font. It might need some experimenting before finding the correct font. Also, it does not solve the issue with german umlauts or other languages like french or italian where some characters have accents.

Can anybody with an hacked kindle post the full list of fonts in /usr/java/lib/fonts/?

Thank you!
pond is offline   Reply With Quote
Advert
Old 03-04-2011, 11:08 AM   #483
FethryDuck
Addict
FethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enough
 
FethryDuck's Avatar
 
Posts: 281
Karma: 520
Join Date: Nov 2010
Location: sometimes Norway, planet Earth
Device: Kindle3, DXG
Quote:
Originally Posted by pond View Post

Can anybody with an hacked kindle post the full list of fonts in /usr/java/lib/fonts/?

Thank you!
Let see if this works, as perhaps some visual idea of them might be nice too.

The special fonts - German, French, Italian, and others cause some headache as I think there are some collision with Asian fonts. I have checked Swedish,Norwegian,German - so far, so if someone could check out French, Italian, or what ever else and report back, this would be nice.

Use a .txt document from project Gutenberg for example. This may be 8859-1, but you can convert a page/document to UTF-8 at several online sites. An example is in post #444 of a Deutsch page - 2 last screenshots is the same book with those two encodings. ( last show that umlauts is working under UTF-8)

Now, this is .txt files which these tests are done. There has to be done some more system modification for pdf,epub,mobi,etc. It also explain a bit about some of the font issues that has appeared lately. There are also some issues here regarding dictionary use, and text-to-speach, etc.

So, this is work in progress...

NOTE: it is possible that my fonts here, is not exact default Amazon. I may have included some Chinese fonts from Duokan too. Sorry, my memory of what I have done is a bit faded.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-25.png
Views:	284
Size:	111.2 KB
ID:	67791  

Last edited by FethryDuck; 03-04-2011 at 11:13 AM.
FethryDuck is offline   Reply With Quote
Old 03-04-2011, 11:50 AM   #484
DDHarriman
Guru
DDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura about
 
Posts: 860
Karma: 4380
Join Date: Feb 2008
Location: Almada, Portugal
Device: Cybook Gen3, Sony PRS 505, Kindle DXG and Samsung Galaxy Note
Hi

For Portuguese is the same - diacritics (ç, ã, é, etc.) are all messed up -, in the line with the other languages who have them.

Best regards,
DDHarriman is offline   Reply With Quote
Old 03-04-2011, 02:05 PM   #485
FethryDuck
Addict
FethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enough
 
FethryDuck's Avatar
 
Posts: 281
Karma: 520
Join Date: Nov 2010
Location: sometimes Norway, planet Earth
Device: Kindle3, DXG
downloaded
http://www.gutenberg.org/ebooks/22044 in UTF-8

and have attached the results.

My Portuguese is as my Chinese - nada

As explained in previous post, these letters may not work with the dictionary correctly.
This seem connected to the coding of these letters, and furthermore - they may split words in ways you don't want. So the trouble is to be a bit more specific if possible.

As far as I can tell, the letters seem to be there - but when you don't read the language, it is difficult to spot how it should be.
Attached Thumbnails
Click image for larger version

Name:	19150123221519.jpg
Views:	322
Size:	203.4 KB
ID:	67796   Click image for larger version

Name:	19150123221833.jpg
Views:	278
Size:	72.0 KB
ID:	67797  
FethryDuck is offline   Reply With Quote
Advert
Old 03-04-2011, 04:38 PM   #486
jaxsnop
Enthusiast
jaxsnop began at the beginning.
 
Posts: 42
Karma: 26
Join Date: Mar 2011
Device: Kindle 3
Quote:
Originally Posted by FethryDuck View Post
downloaded
http://www.gutenberg.org/ebooks/22044 in UTF-8

and have attached the results.

My Portuguese is as my Chinese - nada

As explained in previous post, these letters may not work with the dictionary correctly.
This seem connected to the coding of these letters, and furthermore - they may split words in ways you don't want. So the trouble is to be a bit more specific if possible.

As far as I can tell, the letters seem to be there - but when you don't read the language, it is difficult to spot how it should be.
Hi, I´m Spanish and I´m having the same problems that other latin languages users. With my language the main problem is found in accent words like á, é, í, ó or ú.

Into a sentence the accent word appears with an extra space to the next letters around it.

cami ó n / fisioterap í a / muerci é lago


Surely you understand seeing theses words meanwhile you´re reading a book is very disturbing. Any solution? TYVM
jaxsnop is offline   Reply With Quote
Old 03-05-2011, 02:59 AM   #487
FethryDuck
Addict
FethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enough
 
FethryDuck's Avatar
 
Posts: 281
Karma: 520
Join Date: Nov 2010
Location: sometimes Norway, planet Earth
Device: Kindle3, DXG
Quote:
Originally Posted by jaxsnop View Post
Hi,
Surely you understand seeing theses words meanwhile you´re reading a book is very disturbing. Any solution?
Yes, I do understand the frustration - but it is still beta-software, which mean testing.

Attached a printscreen from "The three boats" -
http://www.gutenberg.org/cache/epub/22065/pg22065.txt

It will not look exactly like this if you try it, as the layout is slightly modified. Comments ?
Attached Thumbnails
Click image for larger version

Name:	19150124113146.jpg
Views:	294
Size:	189.4 KB
ID:	67841  
FethryDuck is offline   Reply With Quote
Old 03-05-2011, 10:03 AM   #488
jaxsnop
Enthusiast
jaxsnop began at the beginning.
 
Posts: 42
Karma: 26
Join Date: Mar 2011
Device: Kindle 3
Quote:
Originally Posted by FethryDuck View Post
Yes, I do understand the frustration - but it is still beta-software, which mean testing.

Attached a printscreen from "The three boats" -
http://www.gutenberg.org/cache/epub/22065/pg22065.txt

It will not look exactly like this if you try it, as the layout is slightly modified. Comments ?
Sorry, I weren´t labelling nobody guilty. I understand completely this program is improving every day, and I´m very pleased with people who works for upgrading and improving our devices and most of them (99%) for free.

Returning to the program, I can't understand how you can see this text without the problems that I have with accent words. And I'm not the only one with this problem. How should I put my language settings (input/output)? I chose the latin languages but it didn't work? Ideas?

I've just seen that there is a new updated version, the mine it's 0.5.13.8689. I'll check it inmediately.
jaxsnop is offline   Reply With Quote
Old 03-05-2011, 10:59 AM   #489
jaxsnop
Enthusiast
jaxsnop began at the beginning.
 
Posts: 42
Karma: 26
Join Date: Mar 2011
Device: Kindle 3
Images of a book in Spanish and the accent problems. You can see the spaced letters with accents and it's dissapeared the ñ too. The image that you put like an example it would be perfect.
Attached Thumbnails
Click image for larger version

Name:	20110305164341.jpg
Views:	248
Size:	171.8 KB
ID:	67853   Click image for larger version

Name:	20110305164413.jpg
Views:	261
Size:	174.9 KB
ID:	67854  

Last edited by jaxsnop; 03-05-2011 at 11:01 AM.
jaxsnop is offline   Reply With Quote
Old 03-05-2011, 04:04 PM   #490
chal61
Member
chal61 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2011
Device: Kindle3 WiFi
Quote:
Originally Posted by jaxsnop View Post
Images of a book in Spanish and the accent problems. You can see the spaced letters with accents and it's dissapeared the ñ too. The image that you put like an example it would be perfect.
In Italian it's the same. I got back to k3 mainly for this reason, altough I read
a lot in english.
chal61 is offline   Reply With Quote
Old 03-05-2011, 05:23 PM   #491
jaxsnop
Enthusiast
jaxsnop began at the beginning.
 
Posts: 42
Karma: 26
Join Date: Mar 2011
Device: Kindle 3
Quote:
Originally Posted by chal61 View Post
In Italian it's the same. I got back to k3 mainly for this reason, altough I read
a lot in english.
For PDF and comics Duokan could be a great option but for latin language users, Amazon OS is the best option. I really hope the developers can get improved this problems and Duokan will be imbatible.
jaxsnop is offline   Reply With Quote
Old 03-05-2011, 05:31 PM   #492
FethryDuck
Addict
FethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enough
 
FethryDuck's Avatar
 
Posts: 281
Karma: 520
Join Date: Nov 2010
Location: sometimes Norway, planet Earth
Device: Kindle3, DXG
Quote:
Originally Posted by jaxsnop View Post
Images of a book in Spanish and the accent problems. You can see the spaced letters with accents and it's dissapeared the ñ too. The image that you put like an example it would be perfect.
Coding is a messy business. There were all sorts of trouble with it in Europe, early on - but those characters is simple compared to the different Asian ones. Some combinations can be nearly impossible. As far as I know, there has been some idea of setting code set according to language selected in one of the menus in "System Settings", but I don't think they are using it yet. One way to group many languages is to use UTF-8.

At the moment, there seem to be some test support of UTF-8 for .txt documents. This is what I used in my examples. It is not used for mobi, epub, pdf, and so on - at least not yet.

You can experiment with Calibre and other programs, and convert to text. However, ISO8859-1, may for example be character code that has been used in mobi,epub,etc. So the same coding problems may show up if it simply choose to keep it in this format instead of recoding it into UTF-8. ( there are many programs that can do the job, and you may use some web-application to do it too ) The example I used, was already in UTF-8 ( most text files in Gutenberg use this already ) BTW. some pdf books can be converted and read on a K3. The formating may not be so good. In the above example, I removed some carriage returns or line-feeds.

( So far - it seem like Spanish, Portuguese, Norwegian, Swedish, German, are working in UTF-8 .txt )

Last edited by FethryDuck; 03-05-2011 at 05:40 PM.
FethryDuck is offline   Reply With Quote
Old 03-05-2011, 06:13 PM   #493
DDHarriman
Guru
DDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura about
 
Posts: 860
Karma: 4380
Join Date: Feb 2008
Location: Almada, Portugal
Device: Cybook Gen3, Sony PRS 505, Kindle DXG and Samsung Galaxy Note
Hi FethryDuck

First of all, thanks for the effort on testing the Portuguese (even if the example you have chosen is 19th century Brazilian).

You are completely correct, in a sense…

I have tested what you say, and yes, one gets all the Portuguese diacritics (accented words and the ç) if… it’s a utf-8 txt file.

The same text in epub format, even if made from a converted html utf-8 file via Calibre, gives the crazy 2 font presentation my Spanish friends presented in the last posts - one font for the main text one for the diacritics with an extra space before and after each diacritic -, and no ã and ç diacritic’s - they just disappear from the word!
The same thing happens if the text is a word file saved in utf-8.

One more note: if the text format is, per example, windows western, the result is always the same as I describe for the epub, even if it’s a txt.

So conclusion: if it’s a plain txt saved in UTF-8 format I can get all the diacritics, no right justification and crazy cuts in the words when they reach the right margin.
The rest, well not even all the diacritics, and the formatting is the same crap.

Best regards, and once more a great thanks on all the work you have put into this so far,

Last edited by DDHarriman; 03-05-2011 at 07:35 PM.
DDHarriman is offline   Reply With Quote
Old 03-05-2011, 06:17 PM   #494
DDHarriman
Guru
DDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura about
 
Posts: 860
Karma: 4380
Join Date: Feb 2008
Location: Almada, Portugal
Device: Cybook Gen3, Sony PRS 505, Kindle DXG and Samsung Galaxy Note
Ups!

I bet you where posting when I was writing my post recognizing exactly what you say... I was half an hour late, but I do agree with your conclusion:

"( So far - it seem like Spanish, Portuguese, Norwegian, Swedish, German, are working in UTF-8 .txt )"

Best regards,
DDHarriman is offline   Reply With Quote
Old 03-07-2011, 04:30 PM   #495
FethryDuck
Addict
FethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enough
 
FethryDuck's Avatar
 
Posts: 281
Karma: 520
Join Date: Nov 2010
Location: sometimes Norway, planet Earth
Device: Kindle3, DXG
software update

(as montalex may have done it


Duokan version:
0.5.13.8734 Beta0304

Download here: http://dl.dbank.com/c05vdo1wme

From Google Translate:

Chinese to English translation
This feature improvements:

1. The new optimized music player interface.
2. This update, the Kindle supports native fonts.




The restoration of the Bug:

1 CHM format documents, display garbled and can not open the issue.
2 some of the ePub format document, open the crash problem.
3 ePub format files into the blank, the text appears to move the cursor bug.
4 zip format, the picture to enter the system set up by back key interface error.
5 text word-for-change font size change font size and color multiple operations deadlock.
6 pictures two catalog interface screensaver removed, the icons are blur
7 fixes the TTS voice reading the word jump problem.
8 lift the screensaver, the machine displays the time is still time before the screen saver.
FethryDuck is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
English-English Dictionary for 301 LevAizik PocketBook 6 12-03-2013 09:42 PM
Macro: Old English to New english ProDigit Workshop 19 09-15-2011 10:10 PM
PB302 - How to replace English->Russian dictionary with English only (with defin.)? guyanonymous PocketBook 29 08-03-2010 06:05 PM
Best way to sort files? Meowchi Sony Reader 6 09-23-2009 04:05 PM
Hi there and I am sort of new here! PhoneGuy Introduce Yourself 4 07-02-2008 09:33 PM


All times are GMT -4. The time now is 04:44 AM.


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