Skip to content

DXF import missing colours

Summary:

If a dxf file is imported into Inkscape the colours of all items are black.

Steps to reproduce:

  • Import the attached dxf file

What happened?

All items are coloured black.testColorOldinput_dxf.svg

What should have happened?

The colours should be:testColorNewinput_dxf.svg Solution: I have changed lines 672 and 676 in the attached file input_dxf.py. May I ask whether Martin Owens can make these changes, if he agrees with my solution. Many thanks.

Sample attachments:

testColors.dxf dxf_input.py

Version Info:

- Inkscape Version: 1.0 (1.0+r73+1)
- Operating System: Kubuntu
- Operating System version: 18.04
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information