我的字体没有在打印预览stimulsoft中显示

Maj*_*ati 4 asp.net-mvc report stimulsoft

我正在使用StimulSoft软件在我的asp.net mvc项目中显示报告.
在我的报告中,所有事情都没问题,但在打印预览中,我的字体尚未应用.
report.cshtml通过使用将我的字体附加到文件中font-face.
我怎么解决这个问题?

小智 5

旧版本; 正如@ Abbas-Mirzaei所说,你必须在服务器上安装字体.stimulsoft reports.net在2016版本之前不支持导入或嵌入字体.但在较新的版本中,您可以添加字体.

Stimulsoft.Base.StiFontCollection.AddFontFile(@"d:\Work\Resources\glyphicons-halflings-regular.ttf");
Run Code Online (Sandbox Code Playgroud)