issue #2983: replace Director::getInstance() by Node::getDirector() in TextTTF.cpp