Reported by Floris in the user mailing list. His PDF didn't have the attributes:
- local array overwrites base array
- getCOSObject returns name instead of array
- setAttributes inflates the array too much (likely accidentally introduced in rev 1429524)
PDF after the fix:
One of the bugs is also in the trunk, I will test this later.