[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Text at an angle
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Text at an angle
- From: "Charlie Nolan" <funnyman3595@xxxxxxxxx>
- Date: Mon, 8 Dec 2008 00:03:33 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 08 Dec 2008 01:03:56 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=5Gm0ovAFcpUNxhXQhqgI6JJIqjtQU/CSlYibFxhmjl4=; b=JVHKhYqmB8nrgO13FyOTbmlPiP6gGxt//yKh+Fz8tZ6sseMnOUH8RCbmUQTjqWwkZz ZCOWnf2o4o5jiqj5w7ea0qtDvEzXdwWYybwuQNdFvie+1EymnnW2o6Q4AjhLMn1GPfz7 e5hwGIWaIEQrFigRUWaKoZxMOUtmRPphODHjA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=JJi1NH/fAjRXttR/zRga0g8SQ5jnIIhMXiRZeijZNc4NiNGAgbHw7UYPbmHh7RSxoc aJf4PvaH0bnfPDW6wWZA+2+KnrO+T/v2xP59bADpktPIYii59lxvkorduUsFIozGJs+a gPzReLQabOQsTxW+GmVJhSuTASxBlN6I4ypEM=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I've got kind of an odd problem: I need to be able to display text at
an angle. I just spent the past %(FAR_TOO_MANY)s hours trying to find
a way to get at FreeType's support from Python, but I'm really having
no luck. The best I found was an interface to libgd, but I couldn't
figure out a way to extract the data to pygame or numpy efficiently.
Anybody got a suggestion for a way to do this? I assume that
render->rotate doesn't give very good quality. I was thinking maybe
render (2x size)->rotate->scale, but I don't know how much better
that's likely to be.
-FM