problem generating pdf with embedded font
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 IDAutomationC12
- 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-
tags: | added: cli exporting fonts pdf |