[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Ugly font rendering?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Ugly font rendering?
- From: Frozenball <orkkiolento@xxxxxxxxx>
- Date: Tue, 22 Dec 2009 20:36:08 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 22 Dec 2009 13:36:12 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=dO4XBDuAmq/ZDPGblqBkvrV2G7ZBg1r5EjWoEepRUC0=; b=KayrSUPF2MV7wBRoa5EuORaK/NrlX/ALPT0UMiFItYn7TtAifFaZCenS7Amb2UL1o4 SE1lG4TJEjcfh/DiMF33qmRbti1pYOLmoHJi/HgoV+QWhFz7LMtFfAdM7eWEiQu2P5M0 H9bGqJsZiormFOWBHFJxrGQSKN/gcvyHkcz44=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xjtjcHyiFlfHd11sgRxni11uSUyXvqPMzNlfsovMNw101eahU3kHtxp7G1paNntCLO I6goqNWB2fZ/MHZfU5qq/xA05q/mUVR1xHU0+qAzywp9KO6ERdqsjITQFVgPWthZYW00 pdzJygd/cw8QrtmfXmxcyOXXegmm7GC1UfKbY=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello,
For some odd reason the fonts in Pygame seem rather ugly. I have tried
different fonts with and without antialiasing but still they have
little pixel issues when rendered in small size while the fonts in
Photoshop/The GIMP/whatever are always sharp and good-looking.
Picture: http://img707.imageshack.us/img707/3601/fontsarebleedingmyeye.png
Code used:
self.font = pygame.font.SysFont("tahoma",10)
self.window.blit(self.font.render(self.title, 0, (255,255,255)),(5,3))
What I am doing wrong?
P.S. I'm not really used to mailing lists.