View Single Post
Old 03-28-2019, 03:05 PM   #6
Momaiz
Junior Member
Momaiz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Thank you for answer Kovidgoyal "Owner of Calibre"

But i should tell you that my idea was true and finally i got perfect example after changing the font .

Basically . in PHP there was a library called "TCPDF" it support creating PDF from html

https://tcpdf.org/examples/example_018/

in this link this library make ability to create PDF from Arabic and Persian text

I Used this library in previous wordpress project to create pdf from arabic text in wordpress editor

please check attached images and pdf

used font like in tcpdf example was "aefurat" font

-----------

That was Cool
Attached Thumbnails
Click image for larger version

Name:	arabic-text-in-wordpress-editor-before-export-to-pdf.png
Views:	412
Size:	178.5 KB
ID:	170455   Click image for larger version

Name:	arabic-pdf.png
Views:	397
Size:	162.8 KB
ID:	170456  
Attached Files
File Type: pdf arab-book.pdf (75.7 KB, 277 views)
Momaiz is offline   Reply With Quote