Arabic script in PDF created by UFPDF

后端 未结 2 834
余生分开走
余生分开走 2020-12-21 11:19

I have issues with Arabic script inside a PDF document created by UFPDF, that is an extension of FPDF that supports unicode fonts. I have correctly converted Arial font to t

相关标签:
2条回答
  • 2020-12-21 11:50

    May be you need to check http://www.ar-php.org/Glyphs-example-php-arabic.html

    Ar-PHP library gives the ability to use UFPDF, and fixes the separate characters using Glyphs classes (part of the library).

    You need to download the library to check the pdf example, as it is not listed in the website.

    0 讨论(0)
  • 2020-12-21 11:57

    Use TCPDF http://www.tcpdf.org/ instead. It can handle UTF-8 Unicode and Right-To-Left languages.

    I think if I am not wrong it's based on FPDF. So any code you already have for FPDF might work with TCPDF.

    0 讨论(0)
提交回复
热议问题