PDF export doesn't parse gradients

Summary:

When exporting a .SVG file as a .PDF, the gradients are exported in a apparently wrong form that can only be read by Inkscape, which "violates" the predictability of the PDF standard. File: sun_exported_inkscape.pdf

Illustrator, for example, can also export from .SVG to .PDF (without the .ai data) while maintaining gradient compatibility. So it's not a limitation of the PDF standard, apparently. File: sun_exported_illustrator.pdf


Steps to reproduce:

  • open Inkscape.
  • export svg with gradient as pdf
  • open in another program (eg Illustrator)
  • observes lack of compatibility

What happened?

image

The file can be opened, but the gradients are rasterized.

What should have happened?

Captura_de_Tela__183_

The file can be opened in both Illustrator and Inkscape with the gradients retained.


Sample attachments:

File: sun_original.svg


Version info

Inkscape 1.3 (0e150ed6c4, 2023-07-21)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information