def _parse_da(self):
if not self._text_da:<EOL><INDENT>return<EOL><DEDENT>font = "<STR_LIT>"<EOL>fsize = <NUM_LIT:0><EOL>col = (<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>)<EOL>dat = self._text_da.split()              <EOL>for i, item in enumerate(dat):<EOL><INDENT>if item == "<STR_LIT>":<EOL><INDENT>font = dat[i - <NUM_LIT:2>][<NUM_LIT:1>:]<EOL>fsize = float(dat[i - <NUM_LIT:1>])<EOL>dat[i] = dat[i-<NUM_LIT:1>] = dat[i-<NUM_LIT:2>] = "<STR_LIT>"<EOL>continue<EOL><DEDENT>if item == "<STR_LIT:g>":            <EOL><INDENT>col = [(float(dat[i - <NUM_LIT:1>]))]<EOL>dat[i] = dat[i-<NUM_LIT:1>] = "<STR_LIT>"<EOL>continue<EOL><DEDENT>if item == "<STR_LIT>":           <EOL><INDENT>col = [float(f) for f in dat[i - <NUM_LIT:3>:i]]<EOL>dat[i] = dat[i-<NUM_LIT:1>] = dat[i-<NUM_LIT:2>] = dat[i-<NUM_LIT:3>] = "<STR_LIT>"<EOL>continue<EOL><DEDENT><DEDENT>self.text_font     = font<EOL>self.text_fontsize = fsize<EOL>self.text_color    = col<EOL>self._text_da = "<STR_LIT:U+0020>".join([c for c in dat if c != "<STR_LIT>"])<EOL>return<EOL>
Extract font name, size and color from default appearance string (/DA object). Equivalent to 'pdf_parse_default_appearance' function in MuPDF's 'pdf-annot.c'.