开发者

Using htmltopdf want pdf in greek language

I am having hard time trying to generate PDF files containing Greek letters using htmltopdf.

English letters appear in results but not the Greek ones. Searching for the problem, I think it might be related to the font used. I do not know what ttf file to use if this is the problem.I have set encoding as 'Cp1253'

Thanks in adva开发者_如何学Gonce


I would suggest you switch to mPDF! It is a little bit slower than HTML2PDF, but it handles almost all Unicode languages, and has many more features bundled with it.

mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF, with a number of enhancements.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜