Inkscape crashes on pdf export after having changed font

Bug #1461494 reported by free-ubuntu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I'm on OS X 10.10.3 Yosemite, using Inkscape 0.91 r13725

Steps to reproduce problem:
Open new file
Insert text
Change text font to "YuGothic"
Save as pdf
Crash

Temporary workaround:
Convert text to path

After having started inkscape from the command line, it reads the following lines:

laptop:~ user$ /Applications/Inkscape.app/Contents/MacOS/Inkscape
Assertion failed: (index < array->num_elements), function _cairo_array_index, file cairo-array.c, line 182.

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it

Revision history for this message
su_v (suv-lp) wrote :

On 2015-06-03 12:35 (+0200), free-ubuntu wrote:
> Steps to reproduce problem:
> Open new file
> Insert text
> Change text font to "YuGothic"

Could you please save the file at this point as regular Inkscape SVG file and attach to the bug report?

Does this crash happen with other fonts too? Based on a quick websearch, the font 'YuGothic' is not available for download under a free and open license, which makes tested the reported crash difficult on other systems ...

Revision history for this message
free-ubuntu (martin-bothe-gmail) wrote :

I tried a few other fonts, and did not notice any problem with those.

The Inkscape-svg with the problematic font (YuGothic, OS X-specific?) is attached.

description: updated
Revision history for this message
Alvin Penner (apenner) wrote :

unfortunately the attached file does not actually contain the font YuGothic, I mean it is not embedded, so the crash is not reproduced on Windows 7 (32 bit), Inkscape 0.91 r13725 (Jan 30 2015).

When I load the file, I see that the text 'hallo' has already been converted to a path, and the text 'hello2' uses the font YuGothic which is not present. When I save this as pdf and then reload it into Inkscape, I end up with the font Verdana, which I guess is the closest match found on my computer.

Revision history for this message
su_v (suv-lp) wrote :

@free-ubuntu - could you please attach the crash report (created by the OS) to the bug report?

You can find the latest reports in
~/Library/Logs/DiagnosticReports/
(reports about crashes of Inkscape.app have 'inkscape-bin' in the file name; choose one based on date & time stamp to make sure it's related to the crash on PDF export with YuGothic)

Revision history for this message
free-ubuntu (martin-bothe-gmail) wrote :

@Alvin:
Yes, this is the document. Is there a way to include the font in the svg-file?

@suv:
Crash report from OS:
08.06.15 22:12:38,359 ReportCrash[10446]: Saved crash report for inkscape-bin[10384] version ??? to /Users/user/Library/Logs/DiagnosticReports/inkscape-bin_2015-06-08-221238_laptop.crash

The pasted inkscape-bin_*.crash file can be found at:
http://pastebin.com/Nwe5A4N2

Revision history for this message
su_v (suv-lp) wrote :

--
Attaching crash report directly (just in case; external link might expire or disappear ...)

Revision history for this message
su_v (suv-lp) wrote :

Possibly related earlier report:
* Bug #1210943 “Error when using certain Chinese fonts”
  https://bugs.launchpad.net/inkscape/+bug/1210943
 (font-related crash in cairo on PDF export)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.