Simulation Sickness

By a concerned citizen

Subscribe to RSS feed

Posts tagged with "0.3.2"

opdf 0.3.2

,

So, ph030 released his new version of opdf (0.3 and 0.3.1). This in turn made me fire up my ... gedit wink ... and do some more coding on my side (based on 0.3, but merged in 0.3.1 changes afterwards). the result is 0.3.2 with three major changes:

1) fixed some really sh**y js bug (let's just say that I didn't really get how onerror worked wink)
2) the first page now loads automatically when it's rendered - I'm thinking about changing this a little: keep the loading-indicator until every page is loaded and then replace it with the first one if no other page was currently called (maybe tomorrow)
3) re-merged the js-files and added a global variable for the layout mode (can be useful anyway)
4) used pdf2svg's internal loop instead of our external one again

I have a known issue though (but I don't know if it's my own stupidity or opera's): Sometimes the first page yields a parsing error as pdf2svg seems to not fully have written the file to hd. This can be worked around by simply pressing reload. This won't stop the parsing, so don't worry wink I haven't currently figured out why opera is too stubborn to call the onerror function but simply displays an error page (or why pdf2svg writes half-finished files for that matter) though ... well, maybe tomorrow when I'm a little more awake wink

cheers
Immanuel aka. Serious

opdf_032.tar.gz