Thank you very much for this - we will try what you suggest (a rather circuitous process unfortunately as I don't have access to a Mac) Richard On Mon, 2013-03-18 at 07:57 +0100, Hib Eris wrote: > Hi Richard, > > On Sun, Mar 17, 2013 at 4:10 PM, Richard Shann <[email protected]> > wrote: > > Running GNU/Denemo on Mac OSX we use ev_document_factory_get_document() > > to load a pdf file. On this platform (only) the call fails with the > > message > > > > File type application/octet-stream type (application/octet-stream) is > > not supported > > > > Can anyone suggest what might be wrong? The call is working fine on > > GNU/Linux and on Windows. > > Previously, I've run into the same problem when porting Evince to > Windows. It has something to do with Evince' mime-type > detection/handling. I think there were several issues with it. > > First step to fixing this is to see what this evince function returns: > > mime_type = ev_file_get_mime_type (uri, TRUE, error); > > If that returns 'application/octet-stream', I guess you need to > register the pdf mime type somewhere in your OS specific mime type > store. > > If the mime type is something like 'application/pdf', then make sure > the returned mimetype is specified in the file > /usr/lib/evince/4/backends/pdfdocument.evince-backend. > > Regards, > > Hib Eris > > > > > > > > > > > > That
_______________________________________________ evince-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/evince-list
