Crash on load if <symbol> includes <text> and <svg> lacks 'viewBox' (pango >= 1.37.1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
High
|
Unassigned |
Bug Description
Inkscape trunk compiled and linked against pango 1.38 (this enables support for opentype features) crashes when loading a drawing with a <symbol> definition that includes <text>, but only if SVG root <svg> does not have a viewBox attribute.
Steps to reproduce:
Open attached test case 'foo19-crash.svg' in current trunk (with opentype features enabled).
Reproduced with Inkscape 0.91+devel r14390, pango 1.38.0 on OS X 10.7.5.
Difference between file which loads ok and file which crashes on load:
$ diff -u foo19-crash.svg foo19-ok.svg
--- foo19-crash.svg 2015-10-01 12:31:57.000000000 +0200
+++ foo19-ok.svg 2015-10-01 12:32:13.000000000 +0200
@@ -8,6 +8,7 @@
xmlns:xlink="http://
id="svg301"
version="1.1"
+ viewBox="0 0 793.700787402 1122.51968504"
height=
width=
<metadata
Full backtrace with r14390 (debug build).