Re: Generic demo does not break text when printing
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 06, 2004
- 394 views
mia wrote: > > Hi: > My name is Mia, I am new to euphoria. I was looking at the Generic demo, > and no matter what I do. It will not print text correctly, the lines > are not broken so you lose the text if the line is too long. > > I am new to programing so, I have not been able to figure out what > is wrong, the code looks fine, and it has the subs for breaking the code > so, I am sure why it does not work. Does anybody have any suggestions? > > Thank you in anticipation for your assistance, > Regards, > Mia Hi Mia, you are correct. It was really designed to show text on the screen but as it can print, it probably should do a better job of it. I'll fix this up soon. In the meantime, you might like to look into the drawText() function which is what would be used to break lines on word boundries. -- Derek Parnell Melbourne, Australia