For issues related to the current stable release please use it's own Help forum.
IMPORTANT:Please read this before using an git or nightly build version: wiki.webtrees.net/en/GIT

Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: fan chart中文名称乱码请问如何修复

fan chart中文名称乱码请问如何修复 4 weeks 2 days ago #1

  • nuxiong
  • nuxiong's Avatar
  • Offline
  • New
  • Posts: 39
格雷你好,
扇形图中文乱码请问如何修复,英文正常。
求修改方法。谢谢

Last Edit: 4 weeks 2 days ago by nuxiong.
The administrator has disabled public write access.

fan chart中文名称乱码请问如何修复 4 weeks 2 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10908
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

fan chart中文名称乱码请问如何修复 4 weeks 2 days ago #3

  • nuxiong
  • nuxiong's Avatar
  • Offline
  • New
  • Posts: 39
似懂非懂,哈哈哈
有没有捷径可以解决这个问题;)
The administrator has disabled public write access.

fan chart中文名称乱码请问如何修复 4 weeks 2 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10908
For a quick and dirty fix, try this:

1) find a font file that contains the characters you want. I think Microsoft Arial will work. This is a copyrighted file, and we cannot include it with webtrees.

2) rename it to DejaVuSans.ttf

3) copy it to /resources/fonts/DejaVuSans.ttf

webtrees will then use your font file instead of the default one.

This probably ought to be easier to configure.

If I remember, I'll do this for the next release.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

fan chart中文名称乱码请问如何修复 4 weeks 2 days ago #5

  • nuxiong
  • nuxiong's Avatar
  • Offline
  • New
  • Posts: 39
谢谢你雷锋同志
The administrator has disabled public write access.

fan chart中文名称乱码请问如何修复 4 weeks 2 days ago #6

  • nuxiong
  • nuxiong's Avatar
  • Offline
  • New
  • Posts: 39
扇形图表,OK

报告PDF,还是乱码,需要怎么修复
The administrator has disabled public write access.
Powered by Kunena Forum