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

Curious bug with PDF import?

Post by jamadagni » Wed Aug 14, 2019 11:53 am

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 10 times
working.pdf
(1.73 KiB) Downloaded 9 times
Shriramana Sharma

Erwin Denissen
Moderator
Moderator
Posts: 8269
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Curious bug with PDF import?

Post by Erwin Denissen » Wed Aug 14, 2019 12:03 pm

We will look into this. Expect a response next week.
Erwin Denissen
High-Logic
Proven Font Technology

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 8344
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Curious bug with PDF import?

Post by Bhikkhu Pesala » Wed Aug 14, 2019 12:12 pm

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 7 times
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT9.0 @ Win10 1903 build 18362.356

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 » Wed Aug 14, 2019 12:23 pm

So it is a bug in Inkscape PDF write?
Shriramana Sharma

MikeW
Posts: 586
Joined: Mon May 20, 2013 2:51 pm

Re: Curious bug with PDF import?

Post by MikeW » Wed Aug 14, 2019 2:43 pm

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 » Sat Aug 17, 2019 6:35 am

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: 8269
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Curious bug with PDF import?

Post by Erwin Denissen » Thu Sep 12, 2019 11:09 am

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 » Thu Sep 12, 2019 11:19 am

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: 8269
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Curious bug with PDF import?

Post by Erwin Denissen » Thu Sep 12, 2019 12:17 pm

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