代码如下:
pFont = new SoFont;
pFont->size.setValue(30.0);
pSepSon->addChild(pFont);
pFont->name.setValue("simkai.ttf");
SoText2* pText2 = new SoText2;
pSepSon->addChild(pText2);
pText2->string.setValue("Open Inventor程序设计从入门到精通");
上段代码无法正常显示中文,网上有文章说coin3d自动支持freetype,所以我下载了freetype6.dll,freetype.dll分别拷贝到运行目录下,但还是无法正常显示中文,哪位大侠能帮
忙解答一下,谢谢!