pescuma / swt-paperclips

Automatically exported from code.google.com/p/swt-paperclips
0 stars 0 forks source link

TextPrint and StyledTextPrint with larger fonts fonts do not adhere to the page size #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a GridPrint with a TextPrint or StyledTextPrint inside with
enough text that using the default font it will wrap.
2. Use a Fontdata that has a large font (the bigger the more obvious the error)
3. Create a PrintJob, and Print Preview using the GridPrint

What is the expected output? What do you see instead?
You would expect the large font TextPrint or StyledTextPrint to word wrap
at the margin of the page, but instead it wraps further off the page (the
larger the font the further away the wrap occurs). Sometimes text is lost
because it is not wrapped until it goes beyond the edge of the page.

What version of the product are you using? On what operating system?
1.0.4, Windows XP

Please provide any additional information below.
I have found that the printerdata selected impacts this problem. My normal
printers show the problem, but when I select the printerdata from Microsoft
Image Writer the preview/print is correctly wrapped.

Original issue reported on code.google.com by cwilliam...@gmail.com on 23 Mar 2010 at 6:05

GoogleCodeExporter commented 9 years ago
Sorry to get back to you so late on this.  Can you attach a screen shot or PDF 
of the problem you're seeing?  Also some kind of code snippet I can use to 
reproduce the problem would be helpful.

Original comment by qualidaf...@gmail.com on 29 Dec 2010 at 8:08