( self )
| 82 | thread.join() |
| 83 | |
| 84 | def testLineSpacing( self ) : |
| 85 | |
| 86 | font = IECoreScene.Font( os.path.join( "test", "IECore", "data", "fonts", "Vera.ttf" ) ) |
| 87 | self.assertAlmostEqual( font.getLineSpacing(), 1.2 ) |
| 88 | |
| 89 | font.setLineSpacing( 1.25 ) |
| 90 | self.assertEqual( font.getLineSpacing(), 1.25 ) |
| 91 | |
| 92 | self.assertGreater( font.bound( "T\nT" ).size().y, font.bound( "TT" ).size().y ) |
| 93 | |
| 94 | def testInvalidChar( self ) : |
| 95 |
nothing calls this directly
no test coverage detected