problem generating pdf with embedded font

Bug #1239824 reported by Bart De Man
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Hello,

I have a problem generating pdf's from svg using the inkscape shell.

I generate multiple pdf's from multiple svg's in a single shell session.

On certain occasions, I get an error when opening the resulting pdf file. The error message is "Cannot extract the embedded font 'CairoFont-0-0'. Some characters may not display or print correctly.".
See included file b.pdf to see the error.

Steps to reproduce:
- unzip the included zip file
- install the fonts calibri.ttf and IDAutomationC128XL_0.ttf on your system
- start an inkscape shell session to generate 2 pdfs:
inkscape --shell
a.svg -A a.pdf
b.svg -A b.pdf
quit

You will now see that the resulting b.pdf is corrupt with the errormessage from above. a.pdf is a valid pdf file with the right fonts embedded.

When you execute:

inkscape --shell
b.svg -A b.pdf
quit

There is no error message! b.pdf is a valid pdf file

When you execute

inkscape --shell
b.svg -A b.pdf
a.svg -A a.pdf
quit

b.pdf is correct and a.pdf will show the error message.

When you execute
inkscape --shell
a.svg -A a.pdf
b.svg -A b.pdf
b.svg -A b2.pdf
quit

b.pdf is invalid, but a.pdf and b2.pdf are valid!

Versions:
Inkscape 0.47 r22583 (Aug 21 2010)
Linux centos-6-vagrant.vagrantup.com 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Bart De Man (bart-de-man-s) wrote :
jazzynico (jazzynico)
tags: added: cli exporting fonts pdf
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.