Added clip operator
Added missing fill and stroke for text
Misc variable initialization
Added font-weight, font-style to text
Fixed setGState to accept args
Added missing line-join to text