Extremely Slow Performance for SVG Text Scaling
Reported by
hust...@gmail.com,
Nov 10 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36 Steps to reproduce the problem: 1. Visit: https://uzfin.com/heatmap (Press shift+f+c if you can't see the content) 2. Click any rectangle to zoom it. What is the expected behavior? It should be speedy to zoom the rectangles with the texts on it, Just as IE10+/Edge/Safari/Firefox does. What went wrong? However, It's quite slow due to Text Scalings, and if I set the font-size of the texts just the same as before, It would be much faster. Did this work before? N/A Chrome version: 54.0.2840.98 Channel: stable OS Version: OS X 10.12.1 Flash Version: Shockwave Flash 23.0 r0
,
Nov 10 2016
Looks like we're spending a lot of time in FontPlatformData::hasSpaceInLigaturesOrKerning (presumably because we have two sizes involved, and the size and scale changes?) Short-circuiting that function by returning 'false' directly, seems to give slightly better layout times (on average, some fairly high peaks.) Any chance we could that less (i.e is that GPOS/GSUB lookup size-invariant?)
,
Nov 11 2016
We could probably cache that information in the font, no need to look it up multiple times in the font blob.
,
Nov 10 2017
Issue 781344 is possibly related to this.
,
Nov 12
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 13
,
Nov 14
Site doesn't respond. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by f...@opera.com
, Nov 10 2016Labels: -OS-Mac
Status: Available (was: Unconfirmed)