The PDF specification has the following image as an example of how to do transparent graphics composition.
This seems simple but actually requires quite a lot of functionality:
- Specifying CMYK gradients
- Setting the blend mode for paint operations
- Specifying transparency group xobjects
- Specifying layer composition parameters
The only difference here is that out of laziness I used a simple two color linear gradient rather than a rainbow one.
Nonportability
This is again one of those features that only Acrobat Reader can handle. I tried Okular, Ghostscript, Firefox, Chromium and Apple Preview and they all rendered the file incorrectly. There was no consistency, each one was broken in a different way.
With all your findings regarding broken display in several PDF viewers, did you receive any feedback yet that anyone want to fix their respective libraries?
ReplyDeleteNo. Though to be honest I have not really filed that many bugs upstream.
Delete