Update text.js
Merge pull request #1796 from asturur/Shadow-scaling

Support Shadow scaling for CanvasZoom and ScaleFactor