Thanks to Mark to do a peer review of the text selection code and noticing the large number of Geometric paths that where created for each page.
I reviewed the text selection code and found two areas that could be improved. The first was to convert the mouse point or selection rectangle to page space before doing containment and intersection tests. Once the mouse coords where in the correct space there was no need to keep the geometric path around in the text object, the pre calculated bounds where all that where needed to calculate selected text.
Checked in code, marking as fixed.
Thanks to Mark to do a peer review of the text selection code and noticing the large number of Geometric paths that where created for each page.
I reviewed the text selection code and found two areas that could be improved. The first was to convert the mouse point or selection rectangle to page space before doing containment and intersection tests. Once the mouse coords where in the correct space there was no need to keep the geometric path around in the text object, the pre calculated bounds where all that where needed to calculate selected text.
Checked in code, marking as fixed.