Real Software Forums
http://forums.realsoftware.com/

StyledTextPrinter Broken on Linux
http://forums.realsoftware.com/viewtopic.php?f=8&t=21393
Page 1 of 1

Author:  fitzbew [ Sun Mar 23, 2008 12:22 pm ]
Post subject:  StyledTextPrinter Broken on Linux

Ubuntu 7.1, RB 2008r1:

It seems the StyledTextPrinter has been broken on Linux for some time:

Feeback items:
From 2006r3: http://www.realsoftware.com/feedback/zfmfqugb
From 2007r4: http://www.realsoftware.com/feedback/attmxjqu

Forum thread:
May 2007: http://forums.realsoftware.com/viewtopic.php?f=8&t=13704

My existing code, which works perfectly on Windows and OS X, uses an off-screen editfield to draw the styled text, and then uses a StyledTextPrinter to draw the text onto a Picture object (which is eventually refreshed into a Canvas).

I think the best solution (workaround) is to draw the text onto the Picture.Graphics class directly, removing the Editfield completely on Linux. But I thought it was worth asking if anyone had any other ideas???

Author:  hairy_palms [ Tue Mar 25, 2008 3:59 am ]
Post subject:  Re: StyledTextPrinter Broken on Linux

Tell Real to fix many of the numerous RBlinux printing bugs that have been around for years.

Author:  fitzbew [ Tue Mar 25, 2008 7:17 am ]
Post subject:  Re: StyledTextPrinter Broken on Linux

hairy_palms wrote:
Tell Real to fix many of the numerous RBlinux printing bugs that have been around for years.


Well, fortunately, it sufficed for me to just use the Graphics text drawing methods on Linux instead of a hidden editfield.

In the future, when StyledTextPrinter is fixed, I will be able to just remove the current Linux-only code.

Author:  hairy_palms [ Tue Mar 25, 2008 9:42 am ]
Post subject:  Re: StyledTextPrinter Broken on Linux

Quote:
Well, fortunately, it sufficed for me to just use the Graphics text drawing methods on Linux instead of a hidden editfield.

In the future, when StyledTextPrinter is fixed, I will be able to just remove the current Linux-only code.


im glad you found a way to work around it, the former post was a bit of a rant, as for RS fixing the printing in RBlinux, most of them have been there since RB2005, so i get a little bit cynical :(

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/