diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-11-24 19:28:25 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-11-25 19:10:53 +0000 |
commit | 6e14149d3e915f559f99276a525862e28d6f0478 (patch) | |
tree | 7caac4b663cb1ac0f1bbfad3a7f89317a644366f /apps | |
parent | 7aeb37fc5be2388ad71d9eab04b539c2c49f024e (diff) | |
download | mupdf-6e14149d3e915f559f99276a525862e28d6f0478.tar.xz |
First cut at support for OCGs in mupdf (bug 692314)
When opening a file, create a pdf_ocg_descriptor that lists the OCGs
in a file. Add a new function to allow us to set the configuration
in use (currently just the default one).
This sets the states of the OCGs as appropriate. When decoding the
file respect the states of the OCGs.
This results in Invite.pdf rendering correctly.
There is more to be done in this area (with automatic setting of
OCGs by language/zoom level etc), but this is a good start.
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions