plotdevice/plotdevice — pull request #6 by nieuwenhoven (2014-09-05 11:17:56+00:00)
Title: prevent exception on typography.Text construction

I'm new to plotdevice and was trying out some library examples. I saw quite a few exceptions on code using textwidth. It turned out to be a problem in the typography.Text constructor when values contained None.

The problem can be easily reproduced by adding the following line to a new plotdevice window and then run it:

`measure('obj')`