foreground color must be positive integer
Brought to you by:
yermat
* Rtf2Html.py - line 120
elif token == 'cf':
#foreground color
if int(arg) > 0:
color = self.colorTable.getColor(int(arg) - 1)
if self.styles and self.styles[-1] == 'cf':
self.foutput.write("</font>")
self.styles.pop()
self.foutput.write("\n<font color='%s'>" % str(color))
self.styles.append('cf')
by Hubert B. Hickman