View Single Post
Old 06-09-2014, 12:30 PM   #3
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,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by NiLuJe View Post
IIRC, the rendering engine still doesn't handle complex script shaping, no matter the font used, even in KF8 files (as you saw with the embedded font test).
AFAIK, there are two different rending engines: one for mobi7 files and one for mobi8 (KF8/azw3) files.

Before the final K3 firmware update, my K3 couldn't display RTL text at all. After the 3.4 firmware it would properly display Arabic text using the glyphs from the code2000.ttf font.

My K3 displays Arabic text exactly as my PW2 (see PW2_RTL_PubFontOff.png in my first post). I.e. the script shaping definitely works as designed, at least with the glyphs from code2000.ttf.

That's why I was wondering if simply replacing code2000.ttf would do the trick, unless the Kindle firmware does some kind of font checksum test.

IIRC, /etc/fonts/conf.d contains several configuration files that appear to define the fonts to be used for the different Unicode ranges.

IIRC, the configuration file for the fallback font listed Arial Unicode MS before Code2000. If the order in which the fonts are listed is the order in which they're processed, maybe simply copying Arial Unicode MS (or an Open Source font with better Arabic glyphs) to the internal Kindle fonts folder might do the trick.

Anyway, I appreciate you looking into this.

Doitsu is offline   Reply With Quote