I think here should use dynamic_cast,because it need run-time  check for  insure font is an FontFreeType object.