'Convert configured parameters to keyword args for __init__().'

@staticmethod
def prepareKeywordArgs(config_dict):

    kwargs = {'mapfile': config_dict['mapfile']}
    if ('fonts' in config_dict):
        kwargs['fonts'] = config_dict['fonts']
    if ('scale    factor' in config_dict):
        kwargs['scale_factor'] = int(config_dict['scale    factor'])
    return kwargs
