Inkscape takes a long time reading the gsub table of Calibri
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Medium
|
Unassigned |
Bug Description
0.92+devel (ad33df1, 2018-11-17)
Windows 10
Whenever Inkscape loads the Calibri font (which is known to have a rather large gsub table), the UI becomes unresponsive. A typical stack trace during that time looks like this:
libfreetype-
libfreetype-
libfreetype-
libharfbuzz-
libharfbuzz-
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
libinkscape_
As you can see from the stacktrace, I pressed Ctrl+V when a small Calibri text was in the clipboard. The freezes typically last for about 30 seconds.
Changed in inkscape: | |
importance: | High → Medium |
tags: | added: bug-migration |
I've seen this issue, too, also with other fonts. Simply selecting a different font in the font list (using text tool) takes a considerable amount of time (i.e. seconds).
This seems to be a fairly recent regression in master.
0.92.x built with identical library versions is unaffected, ruling out a regression with fontconfig / pango.
Also this seems not limited to Windows, Jabier reported experiencing this on Liunux, too.
I've subscribed Tav, as he might know what is causing it. I suspect either OpenType font feature handling or the recent changes to SPStyle.