Jump to content

[Solved] PDF形式的发票不能显示中文 - V.1.4


Recommended Posts

请问如何解决PDF形式的发票不能显示中文的问题?如何修改 Back Office-》 Orders-》 PDF 的语言为中文, Encodoing , Font?

×××××××××××
請参阅 http://www.prestashop.com/forums/viewthread/11389/P75/general_discussion/migrate_from_fpdf_to_tcpdf/

請参阅 http://www.prestashop.com/forums/viewthread/11389/P0/general_discussion/migrate_from_fpdf_to_tcpdf
的 #11

下载 http://www.prestashop.com/?ACT=29&fid=6&aid=7407_cdkd6t0zJieTS5XB3cyo&board_id=1

发票成功显示中文简体字

基本上用TCPDF代替FPDF.
用 stsongstdlight font 显示 中文简体字。
用 msungstdlight font 显示 中文繁体字。

Share this post


Link to post
Share on other sites

PrestaShop所用的第三方开源库FPDF早已停止了开发,且对中文和utf-8的支持不是很好。个人认为,官方是不会花时间去调整这个第三方库的,最有可能是直接换掉。目前,暂行方案是,将FPDF换为体积庞大的TCPDF。更多请参考:
1. http://www.prestashop.com/forums/viewthread/11389/
2. http://www.prestashop.com/forums/viewthread/13600/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More