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-08-2013, 04:56 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,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Unfortunately, Kindle Previewer is not very reliable, when it comes to the preview of RTL text. It also seems to use installed system fonts, because when I openend your file, all three lines were displayed in the same font, because neither Nazli nor Lateef are installed on my system.

On my K3, the actual display was even worse: all of the Arabic characters with vowel signs on them were displayed disjointed.

AFAIK, the only thing that you can do is install a font hack. IIRC, an Arab Kindle user managed to install the Arabic Droid Naskh fonts on a PW using the USE_ALT_FONTS font hack, but that hack seems to work only with certain firmware versions without a jailbreak.

@curious non-Arabic speaking Kindle users:
The Arabic phrase shown in the screenshots is the first verse of a Qur'an Sura (9:111).
(Unlike most other Arabic texts, the Qur'an is traditionally written with vowel signs.)
Attached Thumbnails
Click image for larger version

Name:	KP.JPG
Views:	1092
Size:	56.8 KB
ID:	102625   Click image for larger version

Name:	K3.JPG
Views:	859
Size:	52.7 KB
ID:	102626  
Doitsu is offline   Reply With Quote
Old 03-08-2013, 08:27 AM   #17
sevenkul
Member
sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.sevenkul is faster than slow light.
 
Posts: 19
Karma: 29044
Join Date: Jan 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by Doitsu View Post
Unfortunately, Kindle Previewer is not very reliable, when it comes to the preview of RTL text. It also seems to use installed system fonts, because when I openend your file, all three lines were displayed in the same font, because neither Nazli nor Lateef are installed on my system.
Interesting. I generated the mobi file which I send you with Kindle Previewer 2.751 on XP machine on which Nazli and Lateef fonts are installed. However, when I generate a new mobi file with Kindle Previewer 2.8 on Windows 7 machine on which the fonts are not installed, I get very similar result. I am sending in the attachment two screenshots on which @font-face is added or commented out. Kindle Previewer doesn't seems to use installed fonts.

It is also interesting that your prewiever's default font and my prewiever's default font are not the same in terms of showing alaf with fethah. Besides, Kindle Previewer in my XP machine and win7 machine show fethah and kesrah with different slopes. One shows horizontal and one shows inclined....

Because of inconsistencies, I gave up embedding Arabic font. However, it is still boring that not all kindles will show vowel signs even with its default font. It seems it is better to convert text to image or preshape the text.
Attached Thumbnails
Click image for larger version

Name:	Without Fontface.png
Views:	760
Size:	65.7 KB
ID:	102637   Click image for larger version

Name:	With Fontface.png
Views:	720
Size:	57.8 KB
ID:	102638  

Last edited by sevenkul; 03-08-2013 at 08:28 AM. Reason: added attachments
sevenkul is offline   Reply With Quote
Advert
Old 07-20-2013, 12:23 PM   #18
Ahmed Ismail
Junior Member
Ahmed Ismail began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: kindle 3
yes there is a lot

Quote:
Originally Posted by Gazella View Post
What's the use of this? Are there Arabic ebooks available online? I'd be interested to know. Arabic is my main language but I always read English ebooks as I rarely find Arabic ebooks on the web.


yes bro there is many website for that, and i have already around 600 book beside you can read pdf after cutting empty spaces by briss , its sooo interesting how ever what is the kind of your reader?

thanks
Ahmed
Ahmed Ismail is offline   Reply With Quote
Old 07-20-2013, 04:43 PM   #19
Gazella
Wizard
Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.Gazella ought to be getting tired of karma fortunes by now.
 
Gazella's Avatar
 
Posts: 1,705
Karma: 4619474
Join Date: Nov 2012
Device: Kindle Scribe, Kindle Paperwhite
Quote:
Originally Posted by Ahmed Ismail View Post
yes bro there is many website for that, and i have already around 600 book beside you can read pdf after cutting empty spaces by briss , its sooo interesting how ever what is the kind of your reader?

thanks
Ahmed
A Kindle Paperwhite. Could you please post the websites you get them from.
Gazella is offline   Reply With Quote
Old 08-24-2013, 09:09 AM   #20
memo
Junior Member
memo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle2
Quote:
Originally Posted by Doitsu View Post
If you had problems with shaping or RTL layout, you most likely used Amazon Cloud or Calibre to transfer the files to your Kindle.
You'll need to manually transfer the files via the USB cable.
Hi Doitsu,

and what application do you use to convert the Persian pdf file to a mobi file? I copied your mobi file to my Kindle by cable and it worked fine but when I do the same with my converted mobi file, it doesn't work properly. I think maybe it's because I used calibre to convert it, but I don't know if there is another free program to do it.

Regards.

Last edited by twobob; 08-24-2013 at 09:14 AM. Reason: fixed quote
memo is offline   Reply With Quote
Advert
Old 08-24-2013, 09:42 AM   #21
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,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by memo View Post
... what application do you use to convert the Persian pdf file to a mobi file?
I didn't use a PDF file. I converted an .ePub file that I created with Sigil with Kindle Previewer,. You can also use Calibre to convert ePub files (and other formats), however, you'll need to select AZW3 as the output format, because the old MOBI format doesn't support Persian text.
(Kindle Previewer will generate a MOBI file, but it's a special MOBI file that also contains an AZW3 file.)

If you're trying to convert a PDF file, activating the Heuristics options in Calibre usually will get you somewhat better results.
(Calibre > Preferences > Common Options > Heuristic Processing )

However, I'd recommend converting to ePub first, because this'll allow you to check the converted file with Sigil and edit it, if necessary.
Doitsu is offline   Reply With Quote
Old 08-25-2013, 08:17 AM   #22
memo
Junior Member
memo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle2
Quote:
Originally Posted by Doitsu View Post
I didn't use a PDF file. I converted an .ePub file that I created with Sigil with Kindle Previewer,. You can also use Calibre to convert ePub files (and other formats), however, you'll need to select AZW3 as the output format, because the old MOBI format doesn't support Persian text.
Thank you for your kind response.
It's got better but still I'm not able to view the correct format.
I think it has something to do with my computer's settings or basically I don't know how to do it.

I tried to convert the pdf to epub with Calibre and it didn't go well. So, I tried to copy/paste the text from pdf to sigil and convert it to epub. Here I got better results. However, in a quick look it seemed to be OK but then I noticed that it'd changed the order of the words/letters in some parts of the lines.

I think that the problem is with the copying form PDF (I tried two different documents and the result of one of them was better than the other! It wasn't perfect but it was readable, the other one wasn't). I also tried some free pdf to microsoft word converters to find out if they respect the order of the text but with no results.
Maybe I have to change some settings or to install some extra package to fix up these kinds of problem but honestly I don't know how!!! I was searching online and I couldn't find any information! I would appreciate if you could provide me some extra help in this issue.

Thanks.
memo is offline   Reply With Quote
Old 08-25-2013, 11:16 AM   #23
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,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by memo View Post
Maybe I have to change some settings or to install some extra package to fix up these kinds of problem but honestly I don't know how!!!
You might be able to fix some of these issues by changing the following tag in Sigil (in Code View) mode:

From:
<body>
To: <body dir="rtl">

However, even some PDFs with English text in them often have conversion problems. For example, words separated by random spaces, random line breaks etc. I.e., you shouldn't expect a perfect conversion.
It all depends on the program used to create the PDF. Some use normal (unshaped) Perso-Arabic Unicode letters, others preshape Perso-Arabic letters and in some really old PDF files you might find non-Unicode text with embedded custom Farsi fonts.

Quote:
Originally Posted by memo View Post
I also tried some free pdf to microsoft word converters to find out if they respect the order of the text but with no results.
When it comes to text conversion, all of these converters aren't any better than Acrobat. I.e., you might as well open the .pdf file press CTRL+A to select all text and copy it to a new Sigil .ePub.

BTW, there's also a program that'll reformat PDF files so that they can be viewed on 6inch screens K2pdfopt.
Its user interface sucks, but it works. Don't forget to use the -r option if you use it with Persian text.
Doitsu is offline   Reply With Quote
Old 08-26-2013, 05:40 PM   #24
memo
Junior Member
memo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle2
Quote:
Originally Posted by Doitsu View Post
BTW, there's also a program that'll reformat PDF files so that they can be viewed on 6inch screens K2pdfopt.
Its user interface sucks, but it works. Don't forget to use the -r option if you use it with Persian text.
This program is great. My problem is solved!! You're right, it's not user-friendly at all but works fine. Thanks a lot
I also tried the first solution you mentioned but this one is perfect.

memo is offline   Reply With Quote
Old 04-16-2017, 03:28 AM   #25
ars543210
Junior Member
ars543210 began at the beginning.
 
ars543210's Avatar
 
Posts: 2
Karma: 10
Join Date: Apr 2017
Location: Ahvaz, Iran
Device: Kindle E-Reader 8th Generation (KT3)
Smile Persian Font For E-Readers

Finally i managed to install custom Persian Font on my "Kindle E-reader 8th Generation"
using this method:
https://www.mobileread.com/forums/sh...d.php?t=187752



but not all fonts displays correctly.
for me this fonts worked together:
https://fontlibrary.org/en/font/iranian-sans
https://github.com/rastikerdar/vazir...r-Code.ttf.zip

thanks to 'Saber Rastikerdar' developer of Vazir-Code font.
ars543210 is offline   Reply With Quote
Old 04-16-2017, 08:32 AM   #26
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Note: You are bumping a 5 year old thread with model and firmware specific changes.
It would have been better if you had started a new thread (threads are cheap here).

Please post what firmware version your KT3 is running.
There have been a lot of changes in the past 5 years from the K3 (3rd generation, Kindle Keyboard) to your 8th generation KT3.

Last edited by knc1; 04-16-2017 at 08:53 AM.
knc1 is offline   Reply With Quote
Old 04-18-2017, 02:53 PM   #27
ars543210
Junior Member
ars543210 began at the beginning.
 
ars543210's Avatar
 
Posts: 2
Karma: 10
Join Date: Apr 2017
Location: Ahvaz, Iran
Device: Kindle E-Reader 8th Generation (KT3)
Sure
I will create a new thread.
ars543210 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a PRC book file in Persian (Farsi) golagha iRex 7 01-29-2013 09:19 PM
Kobo language support Persian/Arabic/Russian? Haieflosse Kobo Reader 1 05-02-2012 02:11 AM
Calibre is not viewing Arabic text ahmed_rdi Calibre 3 10-19-2011 04:42 AM
Sony PRS 700 - problems with arabic text firdavs_abc Sony Reader 1 09-26-2009 07:37 AM
openinkpot and middle eastern languages Arabic, Persian (Farsi) ali_sade OpenInkpot 16 05-06-2009 05:10 AM


All times are GMT -4. The time now is 04:41 PM.


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