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