2009-04-16 17:22:38 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from nose.tools import *
|
|
|
|
|
2010-03-11 18:12:22 +00:00
|
|
|
import mapnik2, pickle
|
2009-04-16 17:22:38 +00:00
|
|
|
|
|
|
|
# Tests that exercise fonts.
|
|
|
|
|
|
|
|
# Trac Ticket #31
|
|
|
|
# Todo: Add logic to use this TextSymbolizer in a rendering
|
|
|
|
#@raises(UserWarning)
|
|
|
|
#def test_invalid_font():
|
2010-03-11 18:12:22 +00:00
|
|
|
# ts = mapnik2.TextSymbolizer('Name', 'Invalid Font Name', int(8), mapnik2.Color('black'))
|