allow html and printing
allow html and printing
Hi
We are having some problems with "allow html" and pringing.
On our windows 7 devices screen dpi's are set to 125% (default)
But when we have a report with a "allow html" set to a textbox it renders fine on screen. But when we print it the text seems to get bigger and doesn't fit the textbox anymore so it gets truncated.
Is there any way to solve this without setting screens to 100%?
Joris
We are having some problems with "allow html" and pringing.
On our windows 7 devices screen dpi's are set to 125% (default)
But when we have a report with a "allow html" set to a textbox it renders fine on screen. But when we print it the text seems to get bigger and doesn't fit the textbox anymore so it gets truncated.
Is there any way to solve this without setting screens to 100%?
Joris
Using Stimulsoft since 2007
Re: allow html and printing
Hello.
This issue was fixed in one of our previous builds.
Please, update to the latest release.
Thank you.
This issue was fixed in one of our previous builds.
Please, update to the latest release.
Thank you.
Re: allow html and printing
Yes there is a difference in versions. BUT...
I am now using 2012.3.
Still the text gets larger when enabling "allow html"
- Make 2 textboxes with the same text:
- Set one of them to allow html
-> the text in the control with "allow html" is longer when printed.
I my case I had a text that was 84mm when printed.
When I enabled html it was 97mm.
Text still gets deformed.
I am now using 2012.3.
Still the text gets larger when enabling "allow html"
- Make 2 textboxes with the same text:
- Set one of them to allow html
-> the text in the control with "allow html" is longer when printed.
I my case I had a text that was 84mm when printed.
When I enabled html it was 97mm.
Text still gets deformed.
Using Stimulsoft since 2007
Re: allow html and printing
Hello.
We couldn't reproduce your issue.
Please, check the Text Quality property of the text boxes.
If it is the same. Please describe your problem in detailes.
What system is on your machine?
What printer do your use?
Does the same issue occur when you print on other printers?
Thank you.
We couldn't reproduce your issue.
Please, check the Text Quality property of the text boxes.
If it is the same. Please describe your problem in detailes.
What system is on your machine?
What printer do your use?
Does the same issue occur when you print on other printers?
Thank you.
Re: allow html and printing
In attachment you can find a sample report.
the pdf gives the same result as printing to physical printer and also the rendered report in designer (preview).
There is no "text quality" property in the WPF editor. You guys removed it a few versions back.
I'm rendering this on a Win7 enterprise and tried different HP and Xerox printers (and export to pdf).
the pdf gives the same result as printing to physical printer and also the rendered report in designer (preview).
There is no "text quality" property in the WPF editor. You guys removed it a few versions back.
I'm rendering this on a Win7 enterprise and tried different HP and Xerox printers (and export to pdf).
- Attachments
-
- AllowHtmlForStimulForum.pdf
- (14.81 KiB) Downloaded 477 times
-
- AllowHtmlForStimulForum.mrt
- (4.27 KiB) Downloaded 509 times
Using Stimulsoft since 2007
Re: allow html and printing
Could it be possible that when you enable the "allow html" checkbox , the wpf designer also sets the text quality property to wysiwyg in background?
I can see it is enabled in the mrt ( opened in notepad)
Yet... changing the text quality tag in notepad to Typographic does not make a difference.
I can see it is enabled in the mrt ( opened in notepad)
Yet... changing the text quality tag in notepad to Typographic does not make a difference.
Using Stimulsoft since 2007
Re: allow html and printing
Hello.
We use one engine to render reports either in Wpf or in WinForms.
The Wysiwyg text quality is used to render text with html in WinForms. Sometimes in this mode the text becomes wider. And in the Wpf we use the same mode to render text with html and get the same result.
Thank you.
We use one engine to render reports either in Wpf or in WinForms.
The Wysiwyg text quality is used to render text with html in WinForms. Sometimes in this mode the text becomes wider. And in the Wpf we use the same mode to render text with html and get the same result.
Thank you.
Re: allow html and printing
So there is actually no way to make the text look the same in a textbox with html and a textbox without html?
In my opinion a text should visually look the same when selecting the same font and size no matter what control you use. Size 8 is size 8, its as simple as that.... Calibri 8 is calibri 8 in word, excell, access..... even in charts, wordpad and so on. But not in stimulsoft? That just doesn't make any sense.
In my opinion a text should visually look the same when selecting the same font and size no matter what control you use. Size 8 is size 8, its as simple as that.... Calibri 8 is calibri 8 in word, excell, access..... even in charts, wordpad and so on. But not in stimulsoft? That just doesn't make any sense.
Using Stimulsoft since 2007
Re: allow html and printing
Hello.
There is no built-in support of the HTML in the Wpf. We use Uniscribe to add HTML support. The usp10.dll library return us array of glyphs and its coordinates.
The text size and font is the same in both textboxes. The difference is in space between symbols. Even the Standard and Typographic modes of the .Net Framework render text with different margins.
Thank you.
There is no built-in support of the HTML in the Wpf. We use Uniscribe to add HTML support. The usp10.dll library return us array of glyphs and its coordinates.
The text size and font is the same in both textboxes. The difference is in space between symbols. Even the Standard and Typographic modes of the .Net Framework render text with different margins.
Thank you.
Re: allow html and printing
Yes, that may be true, but try explaining to an end-user that a feature is integrated but will never work perfectly.
Using Stimulsoft since 2007