PDF (adobe.com)

Attach text in path

You can attach text into a vector object. Text is contained within the vector boundaries. Both text and the vector object remain editable. When you attach text within a path, the area within the path determines the amount of text that is visible.
  1. Select the text and vector object on the canvas.

  2. Select Text > Attach In Path.