Friday, October 11, 2013

000005

Mozilla Plug-in Updated to the MuPDF Technology Preview release

     As the title suggests, I've just updated the code on the 'moz' branch of my MuPDF fork to support the 1.1-forms-tech-preview revision of the library( It's still two releases behind the upstream branch).
     I actually decided to not support almost all the new features to the library that the release was meant to showcase - the interactive features like form filling, JavaScript and transitions - because, as I said in a previous post, my intention with this branch is to have the same basic plug-in as the one that was available with the 0.3 release, without all the new features added to the library and viewer since the 0.3 release. Also, I left out adding the colorspace entry as I saw no need and use in manipulating that variable.
     What I did update in the plug-in, beside merging the '1.1-forms-tech-preview ' tagged commit in, was to apply the use of a separate display list for PDF annotations, and change the warning function to use a safer string function. With the last one, I considered doing the same for the error function, but as it only gets used once in the plug-in, is a bit of a bother to implement, and the equivalent wasn't done for the viewer, I decided to leave it at that.
     If you want to take a look at what I've done, you can do so here: commit b4c1fa624c... .

No comments: