Modification to handle font configuration.