ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  font issue
Posted by Yejin on Dec-22-2022 17:10
Attachments:
I'm using the Korean font (NanumGothic.ttf).

and I set this font in Legend, angularAxis and many other options..

If the user PC does not have the specific font(in this case "NanumGothic.ttf" which supports Korean), the text is broken as shown in the image below.

For reference, BaseChart's default font is set the font which supports Korean.

Is there any way to display the text in the default font

when the text is broken because the font set by the user is not installed on user PC?
1222.png

  Re: font issue
Posted by Peter Kwan on Dec-23-2022 02:04
Hi Yejin,

For your case, for C++, ChartDirector 7 should try to search for a font that can display Korean characters. See the "Fallback Font" section in:

https://www.advsofteng.com/doc/cdcpp.htm#fontspec.htm

Are you using ChartDirector 7 or an earlier version of ChartDirector?

If you are using an earlier version of ChartDirector, you can try the font list method. Instead of using "NanumGothic.ttf", you can use "NanumGothic.ttf;Another_Font.ttf". In this case, if the first font does not contain the required characters, ChartDirector will try the second font.

Best Regards
Peter Kwan