Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 03-16-2015, 08:03 AM   #16
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by RTL View Post
It seems the RTL part is working correctly, and from my programming experience, I know those numbers in little squares are the Unicode (UTF-16) code of those Arabic letters. I replaced the code2000.ttf with an Arabic font. But I do not know how this weird problem comes out.
The little squares usually indicate a font problem. Try to replace your Arabic font with Arial. (I use ArialMT v6.85, which is the default Arial version that comes with Windows 8.x, but older versions should work, too.)

If that doesn't work either only NiLuJe can help you.

To exclude potential conversion errors I've also attached the .azw3 file that I used for testing.
Attached Files
File Type: azw3 arabic_epub3.azw3 (15.8 KB, 231 views)
Doitsu is offline   Reply With Quote
Old 03-16-2015, 09:13 AM   #17
RTL
Member
RTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 17
Karma: 16138
Join Date: Mar 2015
Device: none
Doitsu,

I replaced the font, used your azw3 file, but got the same result.

In the font-hack folder of the kindle, there is a text file named info.txt, which reads:

-----
$Id: info.txt 8953 2012-11-15 23:23:21Z NiLuJe $

Hello! If you're wondering what all this weird stuff on your Kindle is,
I'm a fonts hack! There's a good chance that I came from here:
https://www.mobileread.com/forums/showthread.php?t=88004

I'm at version 5.6.N, so, if you wish to uninstall me, you'll at least need
the uninstaller from that version.

-- NiLuJe
-----

As I got this k4nt as it is, I have no idea if the font-hack it has is the most up-to-date version or not.

(I used the same mobi and your azw3 file on Kindle app on Android and iOS. Interestingly, the Android app works correctly while the iOS app is not.)
RTL is offline   Reply With Quote
Old 03-16-2015, 09:54 AM   #18
RTL
Member
RTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 17
Karma: 16138
Join Date: Mar 2015
Device: none
Questions for NiLuJe:

The font hack mainly uses I18N.ttf and code2000.ttf to handle Arabic. But these 2 fonts have valid glyphs for Arabic Unicode range (x0600---x06XX). Now my question is from which other font do the squared fallback glyps come? I checked almost all of the fonts on this font-hack folder and they either have some valid Arabic glyphs there or nothing at all (empty), but not any square-coded fallback glyphs.
Attached Thumbnails
Click image for larger version

Name:	code2000.png
Views:	387
Size:	35.6 KB
ID:	136057   Click image for larger version

Name:	DroidSansFallback.png
Views:	338
Size:	29.8 KB
ID:	136058   Click image for larger version

Name:	Arial.png
Views:	340
Size:	36.8 KB
ID:	136059  
RTL is offline   Reply With Quote
Old 03-16-2015, 12:33 PM   #19
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
First, that font-hack is gloriously outdated, so that probably doesn't help ^^.

And the out-of-unicode-coverage glyphs should definitely come from code2000 (i.e., -> I18N.ttf), IIRC.

Keep in mind that there's an extra configuration step involved for the font-hack to affect KF8 (i.e., .azw3) files (something along the line of Browser/KF8 handling in KUAL). But first, upgrade, I'm not even sure your current version actually handles KF8 at all.

I'm a bit short on time right now, and my K4 is currently the only device *NOT* running the fonts hack, so it may take a while for me to get back to you on this .

----

The good news is, looking at the code, the KF8 handling definitely puts everything custom ahead of Code2000, so I'm pretty sure you'll get glyphs from custom fonts. The only remaining issue is whether they'll be properly shaped or not for complex layouts...

Last edited by NiLuJe; 03-16-2015 at 05:14 PM.
NiLuJe is offline   Reply With Quote
Old 03-16-2015, 01:38 PM   #20
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
And the answer is, yup, complex shaping is broken, as expected.

And for the record, here's Adobe RMSDK doing it mostly right on a Kobo H2O, and Kobo's ACCESS renderer doing it right (AFAICT) [provided an adequate font is side-loaded and selected, here, SIL Scheherazade].

----

I'll check if I can mangle FC like on FW 5.x, but the hack is really, really not designed for that so it might be tricky.

EDIT²: Nope, still no complex script shaping, even when very hackishly and quickly trying to replicate what works on FW 5.x. If anyone with more time on their hand wants to mess with FC, be my guest, but that's it for me .

On the plus side, I took the opportunity to check out Bookerly on small Pearl screens, and it looks very neat there ;p.
Attached Thumbnails
Click image for larger version

Name:	regular.png
Views:	396
Size:	22.5 KB
ID:	136071   Click image for larger version

Name:	condensed.png
Views:	337
Size:	19.7 KB
ID:	136072   Click image for larger version

Name:	rmsdk.png
Views:	366
Size:	69.6 KB
ID:	136073   Click image for larger version

Name:	access.png
Views:	359
Size:	47.0 KB
ID:	136074   Click image for larger version

Name:	scheherazade_broken.png
Views:	348
Size:	24.0 KB
ID:	136077  

Last edited by NiLuJe; 03-16-2015 at 02:22 PM.
NiLuJe is offline   Reply With Quote
Old 03-16-2015, 09:01 PM   #21
RTL
Member
RTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 17
Karma: 16138
Join Date: Mar 2015
Device: none
Quote:
Originally Posted by NiLuJe View Post
First, that font-hack is gloriously outdated, so that probably doesn't help ^^.

Keep in mind that there's an extra configuration step involved for the font-hack to affect KF8 (i.e., .azw3) files (something along the line of Browser/KF8 handling in KUAL). But first, upgrade, I'm not even sure your current version actually handles KF8 at all.
How to upgrade the font hack? Do I have to uninstall the font hack and jailbreak first then to install new jailbreak and font hack, or just install a new font hack on top of that old hack?
Keep in mind that it is K4NT, FW 4.1.2
RTL is offline   Reply With Quote
Old 03-16-2015, 10:25 PM   #22
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@RTL: Nope, no need to uninstall beforehand, nor to update/reinstall your JB.

Not that updating will help much with your current conundrum, but, still, what you currently have installed is very old and potentially buggy, so it can't hurt to update .
NiLuJe is offline   Reply With Quote
Old 03-17-2015, 02:00 AM   #23
RTL
Member
RTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 17
Karma: 16138
Join Date: Mar 2015
Device: none
After updating the font-hack and restarting, it seems the problem is solved.

Thank you all for your kind help.
Attached Thumbnails
Click image for larger version

Name:	screen_shot-790.gif
Views:	378
Size:	14.5 KB
ID:	136084  
RTL is offline   Reply With Quote
Old 03-17-2015, 05:34 AM   #24
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Well, my device is haunted then, or Amazon's FT build is even more weird than I thought (I was testing with a custom FT build).

Glad it's working for you, though .
NiLuJe is offline   Reply With Quote
Old 03-18-2015, 07:54 AM   #25
RTL
Member
RTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcoverRTL exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 17
Karma: 16138
Join Date: Mar 2015
Device: none
New questions.

(1) Can I install these hacks on Kindle DX to display Arabic with diactrics correctly?
(2) Can duokan/duokan lite display Arabic with diactrics correctly?

Thanks.
RTL is offline   Reply With Quote
Old 03-18-2015, 08:10 AM   #26
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@RTL:

1/ Nope, the DX runs on FW 2.x, which does NOT support KF8. (And even though technically there have been crazy mostly successfull experiments at running 3.x on a DX, it's messy and outdated (ie., a 3.x version that also doesn't handle KF8)).

2/ No idea, Duokan's evil.
NiLuJe is offline   Reply With Quote
Old 03-18-2015, 11:49 AM   #27
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Duokan -- like, that thing which uses our jailbreak without accreditation (legal, no copyright, but hardly public-spirited) and mutually-exclusive developer certificates, rather than the agreed-upon public MR signing certs? Or the ones who provide closed-source hacks?

Perhaps KOReader handles Arabic well. Bonus -- integrated with KUAL and not a dual-boot, and the devs (some) hang out here and offer support.
eschwartz is offline   Reply With Quote
Old 03-18-2015, 12:49 PM   #28
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by eschwartz View Post
Perhaps KOReader handles Arabic well. Bonus -- integrated with KUAL and not a dual-boot, and the devs (some) hang out here and offer support.
Unfortunately, it doesn't. At least not in ePubs, because Cool Reader doesn't support RTL. (When I still had my K3, I used an RTL patched version of fbKindle by Matan, however, he hasń't visited MR in a couple of years.)
Doitsu is offline   Reply With Quote
Reply

Tags
arabic, epub3, kf8, kindle, rtl


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTL Hebrew Kindle fredsmith123 Amazon Kindle 31 07-07-2016 11:37 AM
kindle 2 not support pdf while kindle 3 and DX (white/graphite) supports it? kocoman Amazon Kindle 1 09-05-2014 10:23 AM
Kindle > ePub (properly) M4R5 Conversion 9 03-27-2013 04:08 PM
RTL working on kindle keyboard but not through calibre hefetza Recipes 1 11-18-2012 11:08 AM
Which E-Ink reader supports the most formats? daesdaemar Which one should I buy? 22 11-03-2008 09:05 PM


All times are GMT -4. The time now is 07:43 PM.


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