Text wrapping / cutof / rendering problem

Stimulsoft Reports.NET discussion
Post Reply
chris.procter
Posts: 32
Joined: Wed Jun 10, 2009 4:48 pm
Location: Edmonton

Text wrapping / cutof / rendering problem

Post by chris.procter »

Hello

I've just today found some puzzling problems with a report where the text is being cut off when printed (but not when previewed). After testing, it appears that certain text renders using, say, 5 lines, but when actually printed to the printer, uses 6 lines. The text is only allocated 5 lines though, so the text is cut off in some manner (depending on the vertical alignment of the text container).

I've worked around the issue for now by adding a carriage return and some spaces in the text element, but while all my text remains visible, the spacing is now uneven, so this is non-optimal.

I've tested this using the latest prerelease (Version 2009.2.413 from 8 June 2009), but the problem remains.

I've created a sample report which demonstrates the problem. The 2nd box has the last few words cut off if I print the report to either our network printer, or my PDFCreator virtual pdf printer.

Edit: Moved my sample report from CODE tags to an attachment, since I've just figured out how. :-)
Attachments
186.Stimulsoft_TextWrapping_Report.mrt
(5.96 KiB) Downloaded 226 times
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Text wrapping / cutof / rendering problem

Post by Jan »

Hello Chris,

Please set TextQuality property of text components to WYSIWYG or to Typographic values.

Thank you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Text wrapping / cutof / rendering problem

Post by Ivan »

Hello,

This is a known problem of GDI+.
Please try to set TextQuality property of textboxes to WYSIWYG (this mode use GDI).

Thank you.
chris.procter
Posts: 32
Joined: Wed Jun 10, 2009 4:48 pm
Location: Edmonton

Text wrapping / cutof / rendering problem

Post by chris.procter »

Thanks for the prompt reply. I tried the WYSIWYG mode, but started to get the opposite problem (text was printed in fewer lines than allocated), resulting in extra blank lines in the output.

Typographic mode appears to be working with all my test data though, so I'll deploy using that.

Thanks!

Edit: I've attached my 2nd testing report with Standard, WYSIWYG and Typographic modes, (demonstrating wrapping problems in printing with the first two) in case anyone is interested.
Attachments
185.Stimulsoft_TextWrapping_Report_2.mrt
(9.62 KiB) Downloaded 233 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Text wrapping / cutof / rendering problem

Post by Edward »

Hi Chris,

Thank you very much for the detailed feedback and a sample.

Have a nice weekend.

Thank you.
Post Reply