NEW 143748
textPath layout performance improvement (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=143748
Summary textPath layout performance improvement (Part 2)
Said Abou-Hallawa
Reported 2015-04-14 19:23:02 PDT
We could improve textPath layout performance by supporting a new path traversing mode. The new mode should take a vector of lengths and should return a vector of arrow vectors (position and normal angle). The input vector of lengths represents the distance from the beginning of the path to each character should be displayed. The output vector of arrow vectors represents the physical character display points and angles (which are needed for rotating the characters). This will require changing SVGTextLayoutEngine to calculate the lengths of the characters on the path first and then passing all of them to the path traversal function. Instead of traversing the path for every length, we are going to get the required point and angle from the vector of arrow vectors.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-04-14 19:24:54 PDT
Note You need to log in before you can comment on or make changes to this bug.