set font size and removed more instances of calling getCanvasWidth or Height statically