[Bug 692356] printing rotated text (by 90 and 270 degrees) gets garbled