Construct the font object with the font name as one of the parameter in constructor.