inkscape .45 printing hangs

Bug #176944 reported by SteveW
4
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

Printing in Win XP using inkscape .45 seems to spool OK but then hangs in print queue.
Attempting to kill print document also hangs.
Saving file as .PDF and then using Acrobat Reader to print works OK.

Tags: win32
Revision history for this message
SteveW (stephen-white) wrote :

Here is the SVG file which hangs the print queue

Revision history for this message
LostInBrittany (lostinbrittany) wrote :

Your SVG links an image "C:\Steve\Morgan41\Morgan 415 Layout.JPG"
Without that image, The only thing I can see is a big red cross.

nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
SteveW (stephen-white) wrote :

Here's the referenced image.

Revision history for this message
SteveW (stephen-white) wrote :

Here's the referenced image.

Revision history for this message
Albin Sunnanbo (albin-sunnanbo) wrote :

When trying to reproduce on Vista SP1 I run into another error.

I'm using SVN build revision 17715 of trunk.

When I try to print the document above an error occurs.

In the Console-tab in eclipse the following message is printed.
(inkscape.exe:12316): GLib-GObject-WARNING **: invalid cast from `PangoWin32Font' to `PangoFcFont'

Then a messagebox is displayed:
"Inkscape påträffade ett internt fel och kommer nu att avslutas." The following text is found in sv.po:
----------------8<-------------------
#. Show nice dialog box
#: ../src/inkscape.cpp:515
msgid "Inkscape encountered an internal error and will close now.\n"
msgstr "Inkscape påträffade ett internt fel och kommer nu att avslutas.\n"
----------------8<-------------------
Then Inkscape terminates.

The font-casting raises some suspision, and when I remove the two texts from the drawing it prints without errors.

Revision history for this message
Albin Sunnanbo (albin-sunnanbo) wrote :

I have some problems debugging, gdb hangs when I open the print dialog. But some g_printf reveals that the line
PangoFcFont *fc_font = PANGO_FC_FONT(font);
(cairo-render-context.cpp:1424)
prints the "invalid cast from `PangoWin32Font' to `PangoFcFont'"-message
The execution continues until the line
cairo_font_face_t *font_face = cairo_ft_font_face_create_for_pattern(fc_pattern);
I have checked that fc_pattern != NULL, so I guess it is something internal in the Pango library.

I'm compiling against devlibs-2.12-080303, which I suppose is the most current.

I have also checked a simple drawing with only some text on results in the same error, so it's a general font printing issue and not related to the content of the above drawing.

Revision history for this message
ScislaC (scislac) wrote :

This was filed against a version of Inkscape that is no longer supported. Please try reproduce with 0.46, or better yet, current SVN. If you feel that this report was closed in error or are able to reproduce this in a newer version, please feel free to re-open this report.

Changed in inkscape:
status: Incomplete → Invalid
Revision history for this message
Van.halen (v4n-h4len) wrote :

after accessing print preferrence, pressing OK, then the app hang.

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.