Hello,
I found out that "Export" method changes fonts in Visual Studio (in system ?).
I send you simple project.
What I do is click "Show", then I do "Save" and take option "Adobe PDF file...". Then "Ok" and save it on disc.
And suddenly all fonts in Visual Studio are changed (propably not only in Visual Studio -> e.g. I think that Internet Explorer changed fonts also, maybe some more products did it).
It is very bad for me, can you look at it?
Thank you for help in advance.
Export change Fonts
Export change Fonts
- Attachments
-
- StimulsoftWpfApplication11.zip
- (4.62 MiB) Downloaded 199 times
Re: Export change Fonts
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 black rims 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 for disable this:
Thank you.
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 black rims 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 for disable this:
Code: Select all
StiOptions.Export.DisableClearTypeDuringExport = false;
Re: Export change Fonts
Thank you. It seems work.
Is there any consequences of putting this parameter in code? E.g. can not change fonts in system during export or something?
Is there any consequences of putting this parameter in code? E.g. can not change fonts in system during export or something?
Re: Export change Fonts
Hello.
- set the Export As Image property
- export in some formats report with text components where Allow HTML Tags property set to true
Thank you.
There could be problems with exporting text with transparent background as image. There could be when youNiqu wrote:Thank you. It seems work.
Is there any consequences of putting this parameter in code? E.g. can not change fonts in system during export or something?
- set the Export As Image property
- export in some formats report with text components where Allow HTML Tags property set to true
Thank you.