本文介绍了Magento PDF上的日文字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Magento中有几个发票在地址上有日文字符。当我打印发票时,这些字符不能正确打印。



我通过在abstract.php中将字体更改为Arial Unicode来解决这个问题。问题是,这使得发票文件巨大(超过10MB)。

是否有另一个小字体,我可以使用它会正确显示日文和英文字符?

解决方案

请使用字体cid0jp,它可以解决您的问题。

I have got a few invoices in Magento which have Japanese characters in the address. When I print the invoices these characters don't print correctly.

I got around this by changing the font to Arial Unicode in abstract.php. The problem is this makes the invoice file huge (more than 10mb).

Is there another small font I could use which would display both Japanese and English characters correctly?

解决方案

Please use font "cid0jp", it can probably solve your problem.

这篇关于Magento PDF上的日文字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 04:58