Added some bitmap fonts and picked the smallest one for now
authorAdrianna Pińska <adrianna.pinska@gmail.com>
Tue, 13 May 2014 15:21:13 +0000 (17:21 +0200)
committerAdrianna Pińska <adrianna.pinska@gmail.com>
Tue, 13 May 2014 15:21:13 +0000 (17:21 +0200)
data/fonts/4x6.pcf [new file with mode: 0644]
data/fonts/5x7.pcf [new file with mode: 0644]
data/fonts/5x8.pcf [new file with mode: 0644]
data/fonts/6x10.pcf [new file with mode: 0644]
data/fonts/6x12.pcf [new file with mode: 0644]
data/fonts/6x13.pcf [new file with mode: 0644]
data/fonts/DejaVuSans.ttf [deleted file]
naja/constants.py

diff --git a/data/fonts/4x6.pcf b/data/fonts/4x6.pcf
new file mode 100644 (file)
index 0000000..bccd0a2
Binary files /dev/null and b/data/fonts/4x6.pcf differ
diff --git a/data/fonts/5x7.pcf b/data/fonts/5x7.pcf
new file mode 100644 (file)
index 0000000..6da1702
Binary files /dev/null and b/data/fonts/5x7.pcf differ
diff --git a/data/fonts/5x8.pcf b/data/fonts/5x8.pcf
new file mode 100644 (file)
index 0000000..06d74f2
Binary files /dev/null and b/data/fonts/5x8.pcf differ
diff --git a/data/fonts/6x10.pcf b/data/fonts/6x10.pcf
new file mode 100644 (file)
index 0000000..bc7307a
Binary files /dev/null and b/data/fonts/6x10.pcf differ
diff --git a/data/fonts/6x12.pcf b/data/fonts/6x12.pcf
new file mode 100644 (file)
index 0000000..a49ea7e
Binary files /dev/null and b/data/fonts/6x12.pcf differ
diff --git a/data/fonts/6x13.pcf b/data/fonts/6x13.pcf
new file mode 100644 (file)
index 0000000..c2bfd85
Binary files /dev/null and b/data/fonts/6x13.pcf differ
diff --git a/data/fonts/DejaVuSans.ttf b/data/fonts/DejaVuSans.ttf
deleted file mode 100644 (file)
index 0e22385..0000000
Binary files a/data/fonts/DejaVuSans.ttf and /dev/null differ
index efed55cd631cb337bdea31109ec6148258c0ff82..8506db011dfba64eb11d70fd62b06e01cb8e3469 100644 (file)
@@ -3,7 +3,7 @@ from naja.attrdict import AttrDict
 
 SCREEN = (800, 600)
 FPS = 40
-FONT = 'DejaVuSans.ttf'
+FONT = '4x6.pcf'
 FONT_SIZE = 16
 EIGHT_BIT_SCALE = 4