TCPDF : font helvetica not work for japanese language

独自空忆成欢 提交于 2019-12-06 10:57:40

Try font "cid0jp", it can probably solve your problem.

I succeed in displaying Japanese and Chinese characters by using this font. It can be found in tfpdf's package.

Most fonts will not work for Japanese, since it needs thousands of characters (whereas English is satisfied with a hundred or so). Developing thousands of characters is expensive, thus Japanese fonts are expensive; and storing thousands of characters takes up space, which makes Japanese fonts multimegabyte. Therefore most Japanese still usually don't use custom fonts, and rely on the preinstalled fonts that come with the OS (or in one of OS-supported packages). Being a graphics designer is kind of expensive in Japan. Those that intend their documents for digital distribution (HTML, PDF) simply do not use any custom fonts.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!