[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] PATCH: OTF fonts in windows/linux
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] PATCH: OTF fonts in windows/linux
- From: Nirav Patel <olpc@xxxxxxxxxxxxxx>
- Date: Sat, 6 Nov 2010 13:21:32 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 06 Nov 2010 16:21:39 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=NLMSp0NMeOiBq9fbA/rN5c4QvmMfKeZs3YGzuEXRqDs=; b=eqCUt4sC3klx16y6nnzOi6A791gD3YkZ285fFofDqZ8GYFStS2iUjVZFxISUGgn4tc otO8yrEitzzyTbtggpzlhZ6z5sm2tMmzlOddrmDwKy01GHNqqTRb1eFINr2yCmezunOK Fl5EtsjjyIsmIM8cEvO4lQojLWjS8GwocZJEg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=MBeTD27bFWI9INEglkARuQE5zp3Btnr45mZbCatZ1nBwfdGkAa30NYQv0uXtRvnEZ5 qhoyjIj+uZRRFH63R+Axalf3sWRlRPVgIgtpO9twOEt0IFZzG8I17i+hOx6SIT8FSjkO vmWBA1btkyRX6Y+qCLkZy7eR8n4dbkkgpQ2No=
- In-reply-to: <AANLkTinh0suHVivaFkk-Z2n=7nbfPTTp7c2BHBWhMJZT@xxxxxxxxxxxxxx>
- References: <AANLkTinh0suHVivaFkk-Z2n=7nbfPTTp7c2BHBWhMJZT@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Looks good to me. Has this been tested on OS X as well?
Nirav
On Wed, Oct 27, 2010 at 11:49 AM, Ian Katz <ifreecarve@xxxxxxxxx> wrote:
> Even though freetype supports OTF fonts, it looks like they are
> rejected by pygame because of their extension. This patch enables
> .otf fonts in pygame.font.get_fonts().
>
> It's minimally tested (i.e., the enabled OTF fonts render properly),
> but seems to work.
>
> -Ian
>
> --
> Ian Katz
> Research Engineer, MIT Sea Grant AUV Laboratory
> ijk5@xxxxxxx / 617 253 9312
>