'Required:
line
Returns:
nothing
Logic:
Check the self.__token_info. If this matches a token with font
info, then extract the number from the line, and look up the font
name in the font dictionary. If no name exists for that number,
print out an error. Otherwise print out the same line, except with
the name rather than the number.
If the line does not contain font info, simply print it out to the
file.'

def __after_font_table_func(self, line):

    if (self.__token_info == 'cw<ci<font-style'):
        font_num = line[20:(-1)]
        font_name = self.__font_table.get(font_num)
        if (font_name is None):
            if (self.__run_level > 3):
                msg = ('no    value    for    %s    in    self.__font_table\n' % font_num)
                raise self.__bug_handler, msg
        else:
            if (font_name in self.__special_font_list):
                self.__special_font_dict[font_name] = 1
            self.__write_obj.write(('cw<ci<font-style<nu<%s\n' % font_name))
    else:
        self.__write_obj.write(line)
