View Single Post
Old 03-26-2019, 04:50 PM   #1
Momaiz
Junior Member
Momaiz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
Exclamation pdf to epub with arabic letters not in current position

Hello Bro ,

Thank you for calibre it's very good addons for ebooks and developers

I have small problem in arabic

I'm using Calibre ebook to extract pdf files to epub ebook but the text after convert , [ and reveresed again because it was auto reversed ] , not same as in the main pdf text

Lets say the pdf text is

لمياء السعيد

the calibre result after i reversed it was

ملياء السعيد

Here's the different in word

لمياء

ملياء

This Happened in many text in pdf

I used calibre to convert like

exec('ebook-convert '.$pdffile.' '.$new_epub_file ) ;

the wrong letters placement is in this step the result here is like

ءايلم (wrong and reversed)

after reversed with php the result is

ملياء ( wrong letters placement )

I tried to use

--disable-font-rescaling --mono-family --keep-ligatures --change-justification

All failed

after some search i see some answers say embed font support arabic but it failed too

also in the browser when reading the pdf

the word apper fine "لمياء"

but if i tried to copy it to clipboard it copied as "ملياء"

How to fix this problem with arabic letters
Momaiz is offline   Reply With Quote