[FIXED] Curious bug with PDF import?

Post your bug reports here. Include information that helps us to understand and reproduce the bug.
Post Reply
jamadagni
Posts: 71
Joined: Fri Jun 17, 2011 4:10 am
Location: 11 N 78 E

[FIXED] Curious bug with PDF import?

Post by jamadagni »

Hello. Previously I used to have no problem with importing PDF files. But can't seem to import newly created ones. This is same with my old FC 6.5 and a friend's new FC 12.

I attach two files.

One, not-working.pdf is created with latest Inkscape, and doesn't get imported. The metadata says it was created using cairo 1.15.10.

An earlier file working.pdf, possibly created with an earlier version of Inkscape but I can't recall what exact version, gets imported without any problems. The metadata says cairo 1.13.1.
Attachments
not-working.pdf
(2.09 KiB) Downloaded 321 times
working.pdf
(1.73 KiB) Downloaded 339 times
Shriramana Sharma
Erwin Denissen
Moderator
Moderator
Posts: 11107
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Curious bug with PDF import?

Post by Erwin Denissen »

We will look into this. Expect a response next week.
Erwin Denissen
High-Logic
Proven Font Technology
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9869
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Curious bug with PDF import?

Post by Bhikkhu Pesala »

It also fails for me in FC12.

If I open the PDF in PagePlus X9 and do a Preflight test, I get an error:

Box Mismatch: The Trim Box Exceeds the Bleed Box

Exporting the PDF fixes it for FontCreator import.
Attachments
not-working.pdf
(3.99 KiB) Downloaded 315 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
jamadagni
Posts: 71
Joined: Fri Jun 17, 2011 4:10 am
Location: 11 N 78 E

Re: Curious bug with PDF import?

Post by jamadagni »

So it is a bug in Inkscape PDF write?
Shriramana Sharma
MikeW
Posts: 625
Joined: Mon May 20, 2013 2:51 pm

Re: Curious bug with PDF import?

Post by MikeW »

I'm not certain it is that there is a pagebox error. I don't have my low-level pdf tools installed at the moment, but both Acrobat and pdfToolbox report all page boxes are identical to 5 decimal places. I would need the low-level stuff to investigate the page boxes further.
jamadagni
Posts: 71
Joined: Fri Jun 17, 2011 4:10 am
Location: 11 N 78 E

Re: Curious bug with PDF import?

Post by jamadagni »

If I rewrite the PDF using the GhostScript method shown at https://superuser.com/questions/278562/ ... d-pdf-file then I am able to import into FC without any problem.

But when the original PDF output by Inkscape can be opened in other readers, it would be good if FC can import it as well without throwing an error.

Thanks all!
Shriramana Sharma
Erwin Denissen
Moderator
Moderator
Posts: 11107
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Curious bug with PDF import?

Post by Erwin Denissen »

The next upcoming FontCreator update will support the PDF created with the latest version of Inkscape.
Erwin Denissen
High-Logic
Proven Font Technology
jamadagni
Posts: 71
Joined: Fri Jun 17, 2011 4:10 am
Location: 11 N 78 E

Re: Curious bug with PDF import?

Post by jamadagni »

So it's not something that I have to report to the Inkscape people? I was busy with other things so haven't done that yet.
Shriramana Sharma
Erwin Denissen
Moderator
Moderator
Posts: 11107
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Curious bug with PDF import?

Post by Erwin Denissen »

No, I don't think so. FontCreator didn't expect a comment in some part of the document structure, and that caused the problem.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply