File: tfont.py

package info (click to toggle)
teg 0.11.2%2Bdebian-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 11,484 kB
  • ctags: 7,108
  • sloc: ansic: 16,775; sh: 8,559; python: 1,442; xml: 490; makefile: 385
file content (20 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#   $Id: tfont.py,v 1.2 2003/09/14 04:31:39 riq Exp $
#
# Tenes Empanadas Graciela
# Copyright 2000,2003 Ricardo Quesada (riq@coresecurity.com)
#

import pygame

if not pygame.font.get_init():
    pygame.font.init()

TFont = {
    'helvetica 8'   :  pygame.font.SysFont('helvetica',8),
    'helvetica 10'  :  pygame.font.SysFont('helvetica',10),
    'helvetica 12'  :  pygame.font.SysFont('helvetica',12),
    'helvetica 16'  :  pygame.font.SysFont('helvetica',16,0),
    'helvetica 16b' :  pygame.font.SysFont('helvetica',16,1),
    'helvetica 20'  :  pygame.font.SysFont('helvetica',20,0),
    'helvetica 20b' :  pygame.font.SysFont('helvetica',20,1)
}