Font substitution

Stimulsoft Reports.NET discussion
Post Reply
Andreas Tastler
Posts: 63
Joined: Fri Jul 17, 2009 5:00 am
Location: St. Gallen, Switzerland

Font substitution

Post by Andreas Tastler »

Hello

When I open a report which contains a font that does not exist on my machine, the font will be substituted by another font. If I save the report, the substituted font will be save too and the original font information is lost. For us, this is very dangerous because some of our customers use special OCR-B fonts. These fonts may not be substituted!!
Is there a setting or any other possibility to prevent font substitution?

Thank you.
Andreas
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Font substitution

Post by Ivan »

Hello,

Please use the following static property:

Code: Select all

    StiOptions.Engine.AllowUseOriginalFontName = true;
Thank you.
Andreas Tastler
Posts: 63
Joined: Fri Jul 17, 2009 5:00 am
Location: St. Gallen, Switzerland

Font substitution

Post by Andreas Tastler »

Hi Ivan

I missed that one, thank you.

Regards
Andreas
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Font substitution

Post by HighAley »

Hello, Andreas.
atastler wrote:I missed that one, thank you.
We are always glad to help you.
If you have some additional questions, please do not hesitate to contact us.

Thank you.

Post Reply