asp.net-mvcreportstimulsoft

my font haven't be shown in print preview stimulsoft


I am using StimulSoft software for showing reports in my asp.net mvc project.
In my report all of things is OK, but In print preview my font haven't be applied.
I attached my font in report.cshtml file by using font-face.
How can I solve this problem?


Solution

  • In old versions; as @Abbas-Mirzaei said, you have to install fonts on server. stimulsoft reports.net doesn't support import or embed fonts before 2016 versions. but in newer version you can add fonts.

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