Wrong text color with internal PDF reader (Microsoft PDF export of excel file)
Summary:
I created a test document in Microsoft Excel with various cell border/fill colors and various text colors/fonts/styles, as shown in the following screen capture:
If I create a PDF from Excel using three different methods, all three PDF files render correctly in Adobe Acrobat, but there is variation in how the Inkscape internal PDF reader imports them:
-
File > Print > Microsoft PDF print driver
- text font differences
-
File > Print > Adobe PDF print driver
- text color differences
-
File > Save as > PDF
- seems to be correct
It would be good for the Inkscape internal PDF reader to import PDFs files more closely to how Adobe Acrobat renders them.
Steps to reproduce:
- Download testcase: test.zip
- Open Inkscape.
- Import each PDF file.
- Compare results to PDF viewer or reference screen capture above.
What happened?
For two of the PDF files, the imported PDF contained different formatting:
- File > Print > Microsoft PDF print driver
- text font differences
- File > Print > Adobe PDF print driver
- text color differences
Version info
Inkscape 1.2.1 (9c6d41e410, 2022-07-14)
GLib version: 2.72.2
GTK version: 3.24.34
glibmm version: 2.66.4
gtkmm version: 3.24.6
libxml2 version: 2.9.14
libxslt version: 1.1.35
Cairo version: 1.17.6
Pango version: 1.50.7
HarfBuzz version: 4.4.1
OS version: Windows 10 20H2