1. A method implemented by a computing device, the method comprising: identifying, by the computing device and for primary text located in a non-rectangular frame, one or more anchored text elements referenced in the primary text; and fitting, by the computing device, the one or more anchored text elements within the non-rectangular frame and at a bottom of the non-rectangular frame by iteratively repositioning the one or more anchored text elements, including: initially positioning the one or more anchored text elements at a top of the non-rectangular frame; and repositioning the one or more anchored text elements at a next computed position, including composing the one or more anchored text elements starting from the next computed position, until there are zero points of space between a bottom of the one or more anchored text elements and the bottom of the non-rectangular frame and until the one or more anchored text elements fit entirely within the non-rectangular frame.
1. A method implemented by a computing device, the method comprising: identifying, by the computing device and for primary text located in a non-rectangular frame, one or more anchored text elements referenced in the primary text; and fitting, by the computing device, the one or more anchored text elements within the non-rectangular frame and at a bottom of the non-rectangular frame by iteratively repositioning the one or more anchored text elements, including: initially positioning the one or more anchored text elements at a top of the non-rectangular frame; and repositioning the one or more anchored text elements at a next computed position, including composing the one or more anchored text elements starting from the next computed position, until there are zero points of space between a bottom of the one or more anchored text elements and the bottom of the non-rectangular frame and until the one or more anchored text elements fit entirely within the non-rectangular frame. 5. A method as described in claim 1 , wherein the non-rectangular frame comprises a text box.