| 1 | """ |
| 2 | Tests for font integration in all platforms. |
| 3 | """ |
| 4 | from tests.annotations import Platform, skip_platform |
| 5 | |
| 6 | from pyglet import font |
| 7 | |
| 8 | |
| 9 | @skip_platform(Platform.LINUX) # Arial may not be installed |
| 10 | def test_have_font(): |
| 11 | """ |
| 12 | Test functionality to check for availability of fonts. |
| 13 | """ |
| 14 | assert font.have_font('Arial') |
| 15 | assert not font.have_font('missing-font-name') |