Added bitmap as paramater for register font