ghostscript-10.05.1-2 vertically shifts part of an image

Description:

I think I've found a problem with ghostscript-10.05.1-2 when converting https://github.com/python-pillow/Pillow/raw/refs/heads/main/Tests/images/eps/1.eps.

The image created on arch with ghostscript-10.05.1-2 is

The image created on my local macOS machine with ghostscript 10.05.1 is

If you compare the two images closely, you will see that the top half of the image is shifted by one row.

The background of this issue is that arch version is causing a failure in Pillow's test suite - https://github.com/python-pillow/pillow - that passes with a variety of other operating systems.

I last saw this working on arch with ghostscript-10.05.0-3. If you think this isn't a problem with your packaging, but something else, please let me know so that I can progress in my problem solving.

Additional info:

Steps to reproduce:

I've attempted to create a simplified reproduction at https://github.com/radarhere/docker-images/tree/eps. It contains a Dockerfile that uses greyltc/archlinux to download the image, and then runs gs -q -g100x67 -r100.000000x100.500000 -dBATCH -dNOPAUSE -dSAFER -sDEVICE=png256 -sOutputFile=out.png -c 0 0 translate -f 1.eps -c showpage

If it's helpful, here is the GitHub Actions run. The created file is uploaded to a temporary file hosting service, so if you find the output URL in that run, it won't work, but hopefully you can reproduce this from the Dockerfile script.

Thanks

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