add bgcolor and fgcolor in text rendering
Merge pull request #839 from chrox/master

add bgcolor and fgcolor in text rendering