TextQuality property is not working

Stimulsoft Reports.WPF discussion
Post Reply
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

TextQuality property is not working

Post by LukasT »

Hello,
back to "evergreen".... Export to PDF from WPFViewer is not presenting fonts with the same sizes.... see attached example. And settings of TextQuality property has no impact... If I use export to PDF by PDFCreator so output PDF document is correct...
Attachments
TestReport_StimulsoftPDFExport.pdf
(40.81 KiB) Downloaded 465 times
TestReport_PDFCreator.pdf
(19.54 KiB) Downloaded 352 times
TestReport.mrt
(3.95 KiB) Downloaded 569 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: TextQuality property is not working

Post by HighAley »

Hello.

We have reproduces your issue.
We need some time for analyzing.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: TextQuality property is not working

Post by LukasT »

Ok.... It is not so critical due to users can use PDFCreator, but it would be fine to have it working correctly.... Thank you ;-)
JorisWils
Posts: 86
Joined: Tue Jun 30, 2009 7:49 am
Location: belgium

Re: TextQuality property is not working

Post by JorisWils »

I have posted this issue several times, but never got a proper solution.

Setting the TextQuality to Typographic usually looks a bit better. But that property is not available in the WPF designer, so you can only edit the mrt's XML.

I also had some bad results with "allow html" and saving to pdf in the past.
Using Stimulsoft since 2007
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: TextQuality property is not working

Post by LukasT »

You can set this option:
StiOptions.Wpf.ShowAllPropertiesInWpf = true;
(Open OptionsHelper.exe, set this property value and save Options.xml to the same folder where is DesignerWpf.exe...)
... then you will see TextQuality property in Designer on each text object....
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: TextQuality property is not working

Post by HighAley »

Hello.

There are two static options:

Code: Select all

StiOptions.Export.Pdf.UseWysiwygRender = false;
StiOptions.Export.Pdf.WpfHighAccuracyWordWrap = true;
The second one is shown text more more precisely, but it works several time slower.

The TextQuality property changes text appearance of the text in WinForms Designer only, in WPF Designer all is rendered with WPF methods. To be more exact there is only one method.
Therefore the Text Quality property was removed from property grid. But reports are exported with one report engine, and you get different result.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: TextQuality property is not working

Post by LukasT »

So you mean these two options as final solution (it looks working correctly), or you will find another better (faster) solution?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: TextQuality property is not working

Post by Alex K. »

Hello,

There is not a another better (faster) solution.

Thank you.
Post Reply