| <<<Back 1 day (to 2013/11/28) | 2013/11/29 |
tor7 | marcosw: bugzilla doesn't have OS entries for iOS 6 and iOS 7. is it possible to merge OS entries (so we can have just one iOS category)? | 08:14.33 |
ezio | hello | 08:44.45 |
ghostbot | what's up, ezio | 08:44.45 |
Guest22452 | I'm developing an android app free, with muPdf | 08:45.20 |
| and I've a dubt about a feature. | 08:45.37 |
| After the pdf was loaded, I need to reload a page (the one which the tool is showing) | 08:47.02 |
| because, it is changed on disk. | 08:47.22 |
| How can I reload (or update) the page? | 08:47.45 |
kens | Guest22452 : If the page has changed, the probability is the entire PDF has changed, so you need to reload the entire file. | 08:47.53 |
Guest22452 | yes, the pdf is changed, but is changed only on that page. There is a feature, in our tool, made with other code than mupdf (because mupdf doesn't support it), that modify the page in the current view | 08:50.07 |
| anybody has an idea? | 08:53.22 |
kens | For a definitive answer you'll need to wait an hour or so for the MuPDF developers, but like I said, you will need to relaod the PDF file in my opinion. | 08:54.32 |
Guest22452 | well, kens, I will wait the mupdf developers. | 08:55.07 |
tor7 | Guest22452: look at the desktop app for an example of how that feature can work | 08:55.15 |
Guest22452 | However, the problem is | 08:55.17 |
tor7 | pressing 'r' in the desktop viewer reloads the entire pdf, but keeps the view on the original page | 08:55.33 |
Guest22452 | if the pdf loaded is 600 pages, with images | 08:55.40 |
tor7 | page number* | 08:55.40 |
Guest22452 | the loading is slow | 08:55.50 |
kens | TYou need to remember that PDF files are a\ binary format, with cross-=references, if the page changes, then its size will be different and all the cross-references will have changed | 08:55.51 |
tor7 | if one page has changed, odds are everything in the file (cross references, object numbering, etc) have also changed | 08:56.20 |
Guest22452 | if I have already loaded the document, reloading only a page (if it is possible), is a lazy task (to power performance) | 08:56.46 |
kens | Guest22452 : It *isn't* possible, that's the point | 08:57.00 |
| However it should not be a lengthy process to reread the cross-reference table | 08:57.37 |
Guest22452 | ok kens | 09:08.37 |
| yes, you are right | 09:08.56 |
| changing the corssreferences lead to a reload of the whole document | 09:09.38 |
kens | Yes, that's the nature of PDF I'm afraid | 09:09.51 |
| And changing the page contents will almost certainly change its size, which means it needs a new xref..... | 09:10.16 |
sahil__ | how to use init function of gsdll | 09:22.05 |
kens | RTFM | 09:22.13 |
| tor7 Robin_Watts and paulgardiner (for the logs) can someone, probably Paul, get back to the enquiry on support this morning about MuPDF please ? Regarding the probable application size in the first instance, but we should also look at their other requirements. Possibly a job for the staff meeting. | 09:37.43 |
Robin_Watts | kens: paulgardiner doesn't generally work fridays. | 09:44.55 |
kens | Robin_Watts : ah well | 09:45.02 |
Robin_Watts | I will answer the email when I return in a couple of hours unless tor gets there first. | 09:45.12 |
kens | OK no problem, the likely application size with annotation support is what I think is the urgent one, but obviously reviewing the other requirements would be good | 09:45.42 |
| OK I'm off for a swim (pool is closed tomorrow for a gala), I'll be back in a couple of hours. | 09:51.12 |
| Forward 1 day (to 2013/11/30)>>> | |