sdlterm/cython/sdlterm.pyx
changeset 54 86b84535726e
parent 53 c4263588b716
child 55 1ab0edd5d784
--- a/sdlterm/cython/sdlterm.pyx	Sun Jan 06 13:55:02 2013 +0100
+++ b/sdlterm/cython/sdlterm.pyx	Sun Jan 06 23:03:24 2013 +0100
@@ -63,9 +63,7 @@
     def __dealloc__(self):
         del self.thisptr
 
-    def select_font(self, fname_regular, fname_bold, ptsize):
-        fname_regular = fname_regular.encode('utf8')
-        fname_bold = fname_bold.encode('utf8')
+    def select_font(self, bytes fname_regular, bytes fname_bold, int ptsize):
         self.thisptr.select_font(fname_regular, fname_bold, ptsize)
     def resize(self, width, height):
         self.thisptr.resize(width, height)