Inkscape throws warning when exporting to pdf a svg image

Bug #602526 reported by J. Navarro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Unassigned

Bug Description

As far as I can tell the svg was succesfully exported as a pdf, yet an error message is thrown multiple (dozens of) times. The error is:

** (inkscape:6042): WARNING **: Called helperfns_read_number with value==null_ptr, this can lead to unexpected behaviour.

and also

** (inkscape:6426): WARNING **: Called helperfns_read_number with value==null_ptr, this can lead to unexpected behaviour.

the application was called as:
inkscape --file=image.svg --export-pdf=image.pdf

I think embedded fonts is the problem, 6042 happened with embedded fonts and jpeg image. 6426 happened with embedded fonts but no image.

The SVG was created by Adobe Illustrator

Tags: exporting pdf

Related branches

Revision history for this message
J. Navarro (jamilnavarro) wrote :
su_v (suv-lp)
tags: added: exporting pdf
Revision history for this message
su_v (suv-lp) wrote :

a) SVG fonts
reproduced with Inkscape 0.47 r22583 on OS X 10.5.8
not reproduced with Inkscape 0.47+devel r9586

Exporting 'test.svg' as is with default settings to PDF, Inkscape 0.47 repeats the warning 2543 times:
** (inkscape-bin:53506): WARNING **: Called helperfns_read_number with value==null_ptr, this can lead to unexpected behaviour.

Not sure whether actually having the font 'MyriadPro-Regular' installed would make a difference. Inkscape currently does not render SVG fonts on-canvas yet (only allows to edit/create them).

b) embedded jpeg
Not tested with an embedded jpeg image - do you have another SVG test file for it?

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

SVG fonts related warnings possibly fixed in revision 9259
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/9259>

Revision history for this message
J. Navarro (jamilnavarro) wrote :

I don't have a readily available svg file with embedded fonts and an embedded jpg that I can publish here. However tiny changes in the file such as deleting a text node or moving it or resizing stuff seem to alter the error number thrown (but not the text/hint): I just got:
** (inkscape:8979): WARNING **: Called helperfns_read_number with value==null_ptr, this can lead to unexpected behaviour.

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

> deleting a text node or moving it or resizing
> stuff seem to alter the error number thrown

That's the process number (PID), not an error number, and will be different every time you launch a new Inkscape process. The warning message is the same (and AFAICT already fixed in current bzr trunk and prerelease versions).

@JazzyNico - can you test Linux or Windows export with a current bzr build?

Revision history for this message
jazzynico (jazzynico) wrote :

I confirm the warnings show with 0.47, but not with 0.48.
Closing this report as fixed in the upcoming version.
Regards.

Changed in inkscape:
importance: Undecided → Low
milestone: none → 0.48
status: New → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
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.