Thanks, -Luke
--- Begin Message ---
- To: rabidpoobear@xxxxxxxxx
- Subject: Undelivered Mail Returned to Sender
- From: MAILER-DAEMON@xxxxxxxxxx (Mail Delivery System)
- Date: Sun, 8 Jul 2007 16:10:08 -0400 (EDT)
- Delivered-to: rabidpoobear@xxxxxxxxx
This is the Postfix program at host dahak.nimitz.net. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix program <randy@xxxxxxxxxxxxxxxx>: can't create user output fileReporting-MTA: dns; dahak.nimitz.net X-Postfix-Queue-ID: 121A63009C X-Postfix-Sender: rfc822; rabidpoobear@gmail.com Arrival-Date: Sun, 8 Jul 2007 16:10:08 -0400 (EDT) Final-Recipient: rfc822; randy@dahak.nimitz.net Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; can't create user output file--- Begin Message ---
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] File Copying
- From: Luke Paireepinart <rabidpoobear@xxxxxxxxx>
- Date: Sun, 08 Jul 2007 15:08:29 -0500
- Delivered-to: puzzler@xxxxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=DdzlZ99eTYcxQwkQf39MDJ2CW3WymKx7xvSgpjRvJMxzCWvbyRbT+5OseOhTe8/z1V0iDsBs2NeP3N095+by2X7JvLIvljuNfgEQMHjXZj0IEMxhOYGIFBpqxWVrq39h47suTSR2KpzhcfABS2FvjOHDsuRgqv4eN6KC9XvVbbk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=TTQDEGDYJpZdRUqRD0nORp4dqs5tEVSN675hzNj3b4lVwOB7l1uCN1F3IkPuYb0c7hpxjZRZ1gOPpsUtFXAYgCLchMgDJgRQbdliIjMH6hETf6KanEPFmMxBA3KieaOWeKWk2wFEFNhM56qXeZPh6ZOy5v/4YtJTHA0WnFsFEWg=
- In-reply-to: <a62fab400707081006m4e687ccan1c2aba6d936dc822@xxxxxxxxxxxxxx>
- References: <a62fab400707071358i6999e96bx9fdda302447d08d8@xxxxxxxxxxxxxx> <a62fab400707071613m76faad96k62c1341015a79bd5@xxxxxxxxxxxxxx> <200707081027.48932.richardjones@xxxxxxxxxxxxxxxx> <a62fab400707071747l6c855973s8f8e004f0555e6a3@xxxxxxxxxxxxxx> <46903BD5.4000600@xxxxxxxxxxxxxxxxxxxxxxx> <a62fab400707071900x6a0ef3bbt3e7aac489d3d4850@xxxxxxxxxxxxxx> <1808.10.0.0.50.1183860929.squirrel@xxxxxxxxx> <1883.10.0.0.50.1183861244.squirrel@xxxxxxxxx> <a62fab400707072012g6d3a4bd7k65cd4c2d9eee3446@xxxxxxxxxxxxxx> <4690A69F.9080403@xxxxxxxxx> <a62fab400707081006m4e687ccan1c2aba6d936dc822@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Ian Mallett wrote:OK, that too bad. I don't suppose pygame has a suggestion box. (Other than that in the docs).You could easily write a class that did multi-line text. That's probably why it's not included in Pygame.All the text processing you need to do - centering text, word-wrap, etc. - are all things you do yourself in python, and you pass the text for each line after it's been processed to the font rendering.Part of the reason for this is probably because that's how SDL does it. HTH, -LukeOn 7/8/07, *Luke Paireepinart* < rabidpoobear@xxxxxxxxx <mailto:rabidpoobear@xxxxxxxxx>> wrote:Ian Mallett wrote: > New issue: If I do something like: > > font = pygame.font.SysFont("Times New Roman", 12) > FontObject = font.render("""this is line 1 > this is line 2 > this is line 3""", 1, (255,255,255), (3,3,3)) > surface.blit(FontObject, (0,0)) > > instead of putting a newline thing it puts a rectangle and a space. I > remember the docs saying to do it that way though... The font object's render method doesn't do newlines. It says that in the docs. You have to render each line of text seperately. -Luke
--- End Message ---
--- End Message ---