src/reportlab/platypus/paraparser.py
changeset 4130 49161ce56cad
parent 4129 1266500a2c22
child 4136 16f067cf3dae
equal deleted inserted replaced
4129:1266500a2c22 4130:49161ce56cad
   775 
   775 
   776     def start_font(self,attr):
   776     def start_font(self,attr):
   777         A = self.getAttributes(attr,_spanAttrMap)
   777         A = self.getAttributes(attr,_spanAttrMap)
   778         if 'fontName' in A:
   778         if 'fontName' in A:
   779             A['fontName'], A['bold'], A['italic'] = ps2tt(A['fontName'])
   779             A['fontName'], A['bold'], A['italic'] = ps2tt(A['fontName'])
   780         self._push('font',**self.getAttributes(attr,_fontAttrMap))
   780         self._push('font',**A)
   781 
   781 
   782     def end_font(self):
   782     def end_font(self):
   783         self._pop('font')
   783         self._pop('font')
   784 
   784 
   785     def start_span(self,attr):
   785     def start_span(self,attr):