doulouxun6756 2016-10-12 07:02
浏览 61
已采纳

我怎么能让Dejavu支持CJK字体



I'm currently using FPDF to create a PDF and tFPDF to allow for unicode characters. But when I'm trying to display some Japanese characters its showing some rectangle boxes instead of showing the actual Japanese font.

Currently I'm using DejaVuSansCondensed.ttf for the font. I tried by adding msjh.ttf in my font folder but no luck.

What should I need to do to make characters like Japanese to show up?

Thanks

  • 写回答

1条回答 默认 最新

  • duanmao9918 2016-10-25 07:26
    关注

    Hi guys its working for me now.I have used HanaMinA font to support JAPANESE characters. Actually the Hanazono fonts (HanaMinA, HanaMinB) have full support for all 3 extensions and include 96k+ glyphs. Actually it will display all Asian characters including Korean, Chinese and Japanese

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?
  • ¥30 数字电源对DSP芯片的具体要求
  • ¥20 antv g6 折线边如何变为钝角
  • ¥30 如何在Matlab或Python中 设置饼图的高度
  • ¥15 nginx中的CORS策略应该如何配置
  • ¥30 信号与系统实验:采样定理分析
  • ¥100 我想找人帮我写Python 的股票分析代码,有意请加mathtao