Crash when setting empty font family
Bug #805238 reported by
Andreas Becker
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Andreas Becker |
Bug Description
Version: Inkscape 0.48+devel r10413 and the official 0.48.1
pango 1.28.4-3
OS: Arch Linux 2.6.39-ARCH on x86_64
When the font family is set to an empty string in the user interface, Inkscape crashes. I used the text tool from the toolbox (shortcut F8) to write the text.
The crash occurs, because the return value of "pango_
The attached patch solves the problem. An empty font family is now always changed to the default "Sans".
tags: | added: crash fonts |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
the crash is confirmed on Windows XP, bzr rev 10356 exe:3376) : WARNING **: Ignoring font without family that will crash Pango
However, the use of Sans as a default may not be appropriate on a Windows machine. In my case, if I choose Sans I get the following DOS message:
** (inkscape.
After choosing Sans, this choice is ignored, and instead I get Tunga which is the next in line.
- if at all possible, would it be appropriate to revert back to the previous (presumably valid) choice rather than specifying a hard-coded default?