Report designer disables cleartype fonts

Stimulsoft Reports.NET discussion
Post Reply
Jacunio
Posts: 11
Joined: Tue May 27, 2014 11:39 am

Report designer disables cleartype fonts

Post by Jacunio »

After editing report in designer very often, but not always, cleartype fonts are disabled. Its very annoying, chrome, outlook etc. looks very creepy.
After that I have to start system wizard to enable it.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report designer disables cleartype fonts

Post by HighAley »

Hello.

This is done due to a bug in the GDI+ library. If the textbox has a transparent background and is exported as the image, then, when the ClearType is enabled, the edges of the letters get thick and black instead of smooth halftones.
We disable the ClearType only when exporting, and then enable it again. But in Win8 (and in Win7 SP1) something has changed, and now the ClearType is not enabled immediately, but with a delay, so, after the export, the screen may not look the way it is.
You can use the following option:
StiOptions.Export.DisableClearTypeDuringExport = false;

There could be problems with exporting text with transparent background as image. There could be when you
- set the Export As Image property
- export in some formats report with text components where Allow HTML Tags property set to true

We had made some improvement in this direction. Please, check our latest prerelease build.

Thank you.
Post Reply