Commits

Lenard Lindstrom  committed 3c84a0e

Use real fixed width font in test_freetype_Font_init (towards issue #75)

The Inconsolata test font is does not register as a fixed width font.
The custom PyGameMono does.

  • Participants
  • Parent commits 2e27cc8

Comments (0)

Files changed (1)

File test/freetype_test.py

         self.assertTrue(f.ucs4)
         f.antialiased = False
         f.oblique = True
-        f.__init__(self._fixed_path)
-        self.assertEqual(f.name, 'Inconsolata')
+        f.__init__(self._mono_path)
+        self.assertEqual(f.name, 'PyGameMono')
         self.assertTrue(f.scalable)
-        ##self.assertTrue(f.fixed_width)
-        self.assertFalse(f.fixed_width)  # need a properly marked Mono font
+        self.assertTrue(f.fixed_width)
         self.assertFalse(f.antialiased)
         self.assertTrue(f.oblique)
         self.assertTrue(f.ucs4)