Implement text-rotation-alignment