craftyjs/Crafty — pull request #409 by zlandau (2013-01-27 23:40:27+00:00)
Title: Fix sharing of textFont object in Text component

The Text component was creating a this._textFont object outside of init.
This was causing the structure to be shared with all instances of Text.
Whenever one instance changed the font it would be changed for all
instances.

This commit moves the initialization into init() so each instance will
get its own copy.