refactoring: made font settable