add rotation support for Canvas text