![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2013
Device: Kindle paperwhite
|
Extra spaces in AZW3 format on Kindle
Hi,
I am embedding font in AZW3 format for correct presentation on Kindle. It nearly works; looks perfectly fine on Calibre e-book viewer but renders with extra spaces on Kindle Paperwhite and older Kindle. See attached first line, second word: "kahwha:" vs "kahw ha:" More examples below if you look carefully at screenshots. The font itself renders just fine. AZW3 file is attached together with screenshots. What I'm doing wrong? PS I've tried couple of other fonts and result is exactly the same. Thanks a lot for your help! Last edited by ozshots; 09-12-2013 at 07:01 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,685
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
The problem appears to be be that your source files are not fully Unicode encoded and the embedded font most likely also uses a non-standard encoding.
Can you post the actual .html or text source files and the (Slavonic?) encoding scheme that you used? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
The Calibre ebook viewer is really an epub viewer. This means that if you ask Calibre to view an azw3 book it under-the-cover converts it to epub and then displays the results. This means it may not accurately reflect what the real devices will do.
To get a more accurate representation of how it will look on a real Kindle device you should use the Amazon Kindle previewer app. |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2013
Device: Kindle paperwhite
|
Hi,
I tried Kindle viewer and it looks fine - attached. I've also attached a text version of input RTF. If you apply correct font, it looks fine on all viewers. The problem as you've pointed is encoding. This is old Slavonic text; there are plenty of websites and they all only displayed correctly if you have the right fonts installed. They are compartible with each other. Easiest format to read is PDF with embedded fonts; it always looks right on all devices. I'm really keen to use native Kindle format instead of PDF... Some encoding symbols can be seen here, I have not find a better explanantion of this encoding. http://www.fonts2u.com/orthodoxtt-ucs8.font Thanks a lot for your help. |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,685
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Unfortunately, that doesn't mean anything. Kindle Previewer uses the Webkit engine and behaves like a web browser.
Quote:
I'm afraid that won't be possible because of a bug in the Kindle rendering engine. I just did a quick test with a Unicode version and an Unicode font and noticed the same issue even though I embedded a Unicode font (the default code2000 fallback font behaves the same). Apparently the rendering engine cannot handle Cyrillic letters followed by the Unicode character U+0484 COMBINING CYRILLIC PALATALIZATION and adds a space after it. For example, the second word in the first line, канѡ҄на (kanyona?), contains U+0461 (omega) followed by U+0484 (palatalization), which the Kindle cannot handle. Last edited by Doitsu; 09-13-2013 at 12:45 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2013
Device: Kindle paperwhite
|
Thanks a lot for your help guys...
It is very disappointing to see Kindle as the only e-book on the market not supporting Slavonic due to defective software. I will write to Kindle support about this. If Amazon choses not to support epub, at least home grown alternative should work properly! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extra spaces in Sigil | noteon | Sigil | 2 | 04-08-2011 02:42 PM |
PDF->Mobi extra spaces inserted? | tapar | Conversion | 8 | 01-29-2011 08:33 PM |
removing extra spaces - kills images | wmeyer | Sigil | 4 | 01-14-2011 01:37 PM |
I'm having a problem with extra paragraph spaces | akosimike | Calibre | 10 | 05-27-2010 06:53 PM |
FBReader adds extra spaces for EPUB Book | pakiyabhai | PocketBook | 11 | 05-27-2010 05:58 PM |