Laying out a TextRun using an SVG font is O(n^2)