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 12-20-2013, 09:42 AM   #1
wlaf
Enthusiast
wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.wlaf writes the songs that make the whole world sing.
 
wlaf's Avatar
 
Posts: 44
Karma: 40820
Join Date: Jun 2012
Device: Kindle 3 WIFI
Lightbulb Changing default font of Arabic/Persian text in Kindle 3 WIFI

Last year, with 3.4 update for Kindle 3 WIFI, at last we could be able to create Arabic/Persian mobi/epub files and see them correctly on the device:

Arabic/Persian text on Kindle 3
https://www.mobileread.com/forums/sho...d.php?t=195726

But there is another problem. Default font, called code2000 is so ugly that can not be called 'usable'. Because of this, I tried several methods for changing the default font, but with no success:

1. Embedding Fonts: Using embedded fonts in documents does not have effect on Arabic/Persian text and only changes font of the English text.

2. Remapping Fonts: Using alternative (alt) font with Calibre "Kindle Collections" has the same result and has no effect on Arabic/Persian text.
It seems that Changing the mapping file didn't work for Arabic/Persian, and that is the reason this method does not work.
https://www.mobileread.com/forums/sho...355&page=8#106

Here is some more description from Doitsu:

Quote:
Originally Posted by Doitsu View Post
BTW, the ugly Arabic/Persian glyphs seem to come from the Code 2000 (code2000.ttf) font.
Once a font hack is available you'll probably be able to remap it to another font. AFAIK, It's possible to remap fonts on K3 without a jailbreak, but I don't know whether the same method works for a PW.
You may want to ask in the Kindle developer forum if it's possible to remap code2000.ttf to a better font without a jailbreak.
Quote:
Originally Posted by Doitsu View Post
I hate the default font as much as you, but without a jailbreak and a font hack it's not possible to install additional fonts. And even with a font hack it might be tricky, because the Arabic glyphs come from the code2000.ttf fallback font. I.e. you could probably only replace the default font with one other Arabic font of your choice.
but I'm curious about the solutions:

1. Changing the Code2000 font: Reading the description on Wikipedia, I come across the point that code2000 has a very large range of writing systems, that may be lost with replacing it by a simple font that support few languages.

2. Editing Code2000 font: It seems a better way, but it is hard to implement. Every single character should be modified in a font-editing program, and with different scales between fonts and considering the complex script and needed joining of them, may be porting some fonts' glyphs to work with Code2000 is not an easy task.

I would be happy to hear suggestions from you.

Last edited by wlaf; 12-20-2013 at 11:41 AM.
wlaf is offline   Reply With Quote
Old 12-20-2013, 10:23 AM   #2
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
As Doitsu said, the Fonts Hack can override code2000 (I18N), if I remember the tests we did correctly.
NiLuJe is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arabic/Persian text on Kindle 3 wlaf Kindle Developer's Corner 26 04-18-2017 02:53 PM
613: Changing the default ebook font zkvvoob PocketBook 0 11-21-2013 04:11 AM
Changing default text style? jyavenard Kindle Developer's Corner 5 09-29-2009 09:38 AM
Changing default font styles and sizes p3aul Calibre 26 07-12-2009 01:40 AM
Changing default font in Mobipocket? smp_iliad iRex 1 02-12-2009 09:46 PM


All times are GMT -4. The time now is 09:38 AM.


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