Problems wiht 4k Graphic when print to PDF

Stimulsoft Reports.WPF discussion
Prandl33
Posts: 40
Joined: Wed Nov 16, 2016 4:24 pm

Problems wiht 4k Graphic when print to PDF

Post by Prandl33 »

Hello,
when we print a report with your PDF-Print (Save - Adobe PDF File...) we get
a crazy result, when we use a 4k graphic-Card. When we print to PDF as a Printer
it works fine.
We have checked, that the most problems are, when Stimulsoft use the TextQuality Wysiwyg, you see in the picture.
The text "TEST TEST TEST TEST" ist cut off or is not printed at all.
TestBerichtWysiwyg.jpg
TestBerichtWysiwyg.jpg (14.65 KiB) Viewed 5303 times
When we replace the Wysiwyg in the MRT-File with Standard or Typographic, only StiText-Object additionally with
the property "Allow HTML = True" make problems, you see in the next picture.
TestBerichtTypographic.jpg
TestBerichtTypographic.jpg (20.44 KiB) Viewed 5303 times
In the attachment you find a small program which show, how we replace the TextQuality. Because the property in the Designer
is no longer there. We use the version Stimulsoft Reports.Wpf 2016.3.7.0
Thank you
Attachments
ProblemWith4kGraphikPrintToPDF.zip
(24.47 KiB) Downloaded 197 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problems wiht 4k Graphic when print to PDF

Post by HighAley »

Hello.

Sorry, we can't reproduce the issue because we don't have minor releases that you use.
There was an improvement of such issue. Could you try our latest build?
If you still get the issue, please, send us a source project.

Thank you.
Prandl33
Posts: 40
Joined: Wed Nov 16, 2016 4:24 pm

Re: Problems wiht 4k Graphic when print to PDF

Post by Prandl33 »

Hello,
with the latest version 2017.1.6.0, the text in the StiText object is now ok and will no longer be truncated or disappear.
But when I mix the text with HTML tags, the text is still truncated. This happens in any TextQuality property.
You see this in the PDF as attachment (YEAR 1992).
You can also find the source code as attachment, as you have written.
The problem occurs under Windows 10 and only with a 4k Grafikcard and when I Save as "Adobe PDF File..."
SaveAsAdobePDFFile.jpg
SaveAsAdobePDFFile.jpg (19.56 KiB) Viewed 5291 times
Thank you
Attachments
ProblemWith4kGraphic_Wysiwyg.pdf
Result PDF where text is cut off
(95.65 KiB) Downloaded 216 times
ProblemWith4kGraphikPrintToPDF.zip
SourceCode Example
(24.47 KiB) Downloaded 194 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problems wiht 4k Graphic when print to PDF

Post by Alex K. »

Hello,

Thank you for the detail description. We need some additional time to investigate the issue.

Thank you.
Prandl33
Posts: 40
Joined: Wed Nov 16, 2016 4:24 pm

Re: Problems wiht 4k Graphic when print to PDF

Post by Prandl33 »

Hello,
after further research, we found that the error occurs when a scaling > 100% is set
in Windwos 10 and has nothing to do with 4k graphic. Sorry.
Depending on the resolution, the problem starts at a lower or higher scale.
The scaling what we mean is:
Scaling.jpg
Scaling.jpg (110.65 KiB) Viewed 5252 times
Thank you
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problems wiht 4k Graphic when print to PDF

Post by Alex K. »

Hello,

Sorry for the delay with response.

Thank you for the additional information. We are still working on this issue. We will let you know about the result in this forum thread.

Thank you.
Prandl33
Posts: 40
Joined: Wed Nov 16, 2016 4:24 pm

Re: Problems wiht 4k Graphic when print to PDF

Post by Prandl33 »

Hello,
I wanted to ask again, how it looks with the issue?
Thank you!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problems wiht 4k Graphic when print to PDF

Post by Alex K. »

Hello,

In first we could not reproduce the indicated problem. Then it was possible on one of the test machines,
a few days later the problem stops reproduced on this machine. As it turned out, there was an update to the Creators Update, which changes the screen settings, and now the menu in Windows settings not exists, only "Scale and Layout". But we could not reproduce the problem by changing this option. Perhaps you still have some settings in the system.

Also, please clarify the following:
1. Does the problem reproduces on all computers, or only on some?
2. Does the problem reproduce only on your application, or on our Designer or Demo too?
3. We have attached the report, please run it in your application and send us results - its screenshot and the result of export to pdf.
4. If the problem only in your application, please send us a simple project (as source code, not exe file)

Thank you.
Attachments
Test Dpi 2.mrt
(14.88 KiB) Downloaded 343 times
Prandl33
Posts: 40
Joined: Wed Nov 16, 2016 4:24 pm

Problems with Windows10 and Skaling when print to PDF

Post by Prandl33 »

Hello,
now I would check the problem after some time, and now I could not reproduce
the problem, too. The next three weeks I am not in the office. When I am back, I will
check the problem with our customers.
Thank you
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problems wiht 4k Graphic when print to PDF

Post by Alex K. »

Hello,

Ok.
Please let us know if you need any additional help.

Thank you.
Post Reply