hardware acceleration is off, otherwise method drawTextOnPath does nothing