Bug#1134142: xpstopdf fails with “missing attribute 'Offset' of element 'GradientStop'”

Albert Nash AlbertNash1 at ro.ru
Fri Apr 17 01:27:16 BST 2026


Package: libgxps-utils
Version: 0.3.2-4+b2

Grab https://github.com/HiraokaHyperTools/SampleXpsDocuments_1_0/raw/refs/heads/master/Handcrafted/GradientStops.xps and issue

$ xpstopdf GradientStops.xps GradientStops.xps.pdf
Error rendering page 1: Error rendering page /Documents/1/Pages/1.fpage: /Documents/1/Pages/1.fpage:13:59 missing attribute 'Offset' of element 'GradientStop'
$ mupdf GradientStops.xps &
$ mupdf GradientStops.xps.pdf &

Observe that the squares are lost. In the screenshot in the attachment, the left document is the original XPS, and the right one is the converted one.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comparison_of_GradientStops.xps_with_its_conversion.png
Type: image/png
Size: 37497 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20260417/5fb2a550/attachment-0001.png>


More information about the pkg-gnome-maintainers mailing list