Page 1 of 1

Garbled gfx on AmigaOS compatibles with certain file

Posted: Mon Jul 13, 2026 3:20 pm
by jPV
Most PDF files do work fine, but this one gives garbled graphics at least on MorphOS and OS3:
https://jpv.amigaaa.com/test/test.pdf

Here's how it looks like:
https://jpv.amigaaa.com/test/pdftest.png

It looks OK on Windows... so the issue might be only on AmigaOS compatibles, for some reason.

Code: Select all

@REQUIRE "pdf"
@DISPLAY {Width=612, Height=792}

; https://jpv.amigaaa.com/test/test.pdf
f$ = "test.pdf"

pdf.OpenDocument(1, f$)
pdf.GetBrush(1, 1, 1)
DisplayBrush(1, #CENTER, #CENTER)
FreeBrush(1)
pdf.CloseDocument(1)
WaitLeftMouse()

Re: Garbled gfx on AmigaOS compatibles with certain file

Posted: Mon Jul 13, 2026 5:09 pm
by airsoftsoftwair
If it's both on OS3 and MorphOS then it's probably an endian issue, I'll check. Thanks for reporting!