import pdf with transparent rect is drawn solid

Bug #658261 reported by
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evince
New
Undecided
Unassigned
Inkscape
Confirmed
Medium
Unassigned
Poppler
New
Undecided
Unassigned
The Gimp
New
Undecided
Unassigned

Bug Description

Version: Inkscape 0.47 r22583, built Nov 21 2009
OS: windows XP profesional

I have made a pdf (sheet1.pdf) containing 2 components, an ULN2003 and a PIC10F200.
In inkscape, I choose file->open, and navigate to sheet1.pdf
Then I use the following pdf import settings:
select page:1
do not clip
precision ...meshes: 2.0
text handling: Import Text as text
replace PDF fonts: activated
embed images: activated.
After I click OK, I see my PDF. The left rectangle (ULN2003) is drawn solid, the right rectangle (pic10F200) is drawn transparent. This means I can't see the pin names of the ULN2003.

When I open this PDF with foxit reader, I can see pin names in both components. Please see the screenshot (screenshot.png)

Could you please take a look?

Best regards,
Cedric

Tags: importing pdf
Revision history for this message
Cé (cedric-dewijs-telfort) wrote :
Revision history for this message
Cé (cedric-dewijs-telfort) wrote :
Revision history for this message
Cé (cedric-dewijs-telfort) wrote :

Just tested a newer version with the same result:
Inkscape 0.48.0 r9654

Best regards,
Cedric

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

Reproduced with Inkscape 0.48+devel r9823 on OS X 10.5.8

tags: added: imorting pdf
Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

From looking at the screenshot and how the PDF is displayed in other PDF viewers I don't think the transparency is wrong - rather the stack order: you can work around the issue by moving the rectangle lower in z-order in Inkscape so that the text is rendered above it.

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

Opening the PDF file e.g. in OOo 3.2.1 shows exactly the same issue: the 16 text objects are below the yellow rectangle and not above.

su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
su_v (suv-lp) wrote :

Scribus 1.3.8 correct embeds the PDF (in an image frame), and renders it correctly when exporting the Scribus document to PDF. The library used by Scribus for the PDF import is podofo, whereas Inkscape uses poppler. Not sure about OOo - possibly based on xpdf.

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

GIMP 2.6.10 (with poppler 0.12.4) also renders the rectangle above the text objects when opening the PDF file.
-> most likely an issue in poppler?

Revision history for this message
Cé (cedric-dewijs-telfort) wrote :

Thank you for your fast action.

In the meantime: I use inkscape only for cropping .pdf image, and then pasting into word. Do you know another program that can do this?I can't use paint or simulair programs, they are pixel oriented, and I need vector graphics.

Best regards,
Cedric

Revision history for this message
Cé (cedric-dewijs-telfort) wrote :

Document Viewer 2.30.3 (evince) also has this problem. I have added them in the "also affects project" above.

How have you opened the pdf in Oo3.2.1? I have tried open it in draw and writer, but I only got the ASCII representation, not a picture.

Best regards,
Cedric

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

> How have you opened the pdf in Oo3.2.1?

I don't think It is worth it to further investigate using current OOo or LO for your purposes: even if OOo/LO (using Sun's PDF import extension) opens it in OO/LO Draw, it doesn't look even close to the original. I mentioned it because it showed the same unexpected stack order of the elements - not because it might be a better suited tool for your purposes.

tags: added: importing
removed: imorting
Revision history for this message
Beluga (buovjaga) wrote :

Still confirmed.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)

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.