'Requires:
line
Returns:
nothing
Logic:
Check for four conditions:
The line contains font-info. In this case, store the number in
self.__font_num.
The line contains text. In this case, add to the text string
self.__text_string.
The line marks the end of the individual font in the table. In
this case, add a new key-> value pair to the font-table
dictionary. Also create an empty tag with the name and number
as attributes.
Preamture end of font table'

def __font_in_table_func(self, line):

    if (self.__token_info == 'mi<mk<fontit-end'):
        self.__wrote_ind_font = 1
        self.__state = 'font_table'
        self.__text_line = self.__text_line[:(-1)]
        self.__font_table[self.__font_num] = self.__text_line
        self.__write_obj.write(('mi<tg<empty-att_<font-in-table<name>%s<num>%s\n' % (self.__text_line, self.__font_num)))
    elif (self.__token_info == 'cw<ci<font-style'):
        self.__font_num = line[20:(-1)]
    elif ((self.__token_info == 'tx<nu<__________') or (self.__token_info == 'tx<ut<__________')):
        self.__text_line += line[17:(-1)]
    elif (self.__token_info == 'mi<mk<fonttb-end'):
        self.__found_end_font_table_func()
        self.__state = 'after_font_table'
