SIMITGROUP / phpjasperxml

This is a php wysiwyg report library
BSD 3-Clause "New" or "Revised" License
44 stars 45 forks source link

RTL languge support And Persian(arabic) font support #81

Closed moj101 closed 2 years ago

moj101 commented 2 years ago

Hi I designed a report for Persian language in Jasper Studio with Persian fonts, but unfortunately when I call with phpjasperxml in my program with ???? Instead of letters I face. Is there a solution to this problem? Is it possible to add custom fonts to this program? Sorry if the sentences are not clear because this text was prepared with Google translator

kstan79 commented 2 years ago

Phpjasperxml using tcpdf class to generate pdf. If your font can't render properly you may generate TTF font in the tcpdf font library. Please refer tcpdf Document to know how to add more fonts

moj101 commented 2 years ago

Phpjasperxml using tcpdf class to generate pdf. If your font can't render properly you may generate TTF font in the tcpdf font library. Please refer tcpdf Document to know how to add more fonts

Thanks for the reply Is it possible to post an example to do this?

kstan79 commented 2 years ago

https://queirozf.com/entries/adding-a-custom-font-to-tcpdf

This maybe helpful.