Added a try/catch because some text elements have the 'font' attribute.
Merge pull request #2 from karbassi/patch-1

Added a try/catch because some text elements have the 'font' attribute.