| <<<Back 1 day (to 2016/12/09) | 20161210 |
araxe | Hello. you can make MuPDF compatible with windows 10 UWP universal platform? I tried to convert projects for win32 following this guide: https://msdn.microsoft.com/en-us/library/mt186162.aspx without success. is there any way to make it work? | 12:21.30 |
Robin_Watts | araxe: Hi. | 12:29.01 |
| We need to define some terms :) | 12:29.27 |
| MuPDF is at heart a portable C library. | 12:29.44 |
| It'll build and run on pretty much anything that has a standard C runtime. | 12:30.01 |
| We then have various tools that use this library. | 12:30.22 |
| The example viewers for windows and linux and android and ios etc are just some of these tools. | 12:30.45 |
| So, if you're asking "can we make the library work on windows 10 UWP" the answer is probably "just recompile it, and it'll work fine". | 12:31.23 |
| If you're asking "can we make one of the example viewers work on windows 10 UWP" then that's a more difficult problem, because the mechanisms for actually doing an app are different for UWP than for (say) win32. | 12:32.13 |
| Does that make sense? | 12:32.18 |
araxe | Robin_Watts hello thanks for your answer. Specifically my question, I recompiled successful projects such as "generated", "libfonts", "libmupdf," libthirdparty "but when I go to add references to the project I have an error due to" .winmd "file, I tried all ways but I failed, I tried converting old projects for windows 8.1, but without success. | 12:42.08 |
| so I wanted to ask you if there is some way to make MuPDF in UWP projects. | 12:42.49 |
Robin_Watts | araxe: I have no idea what a .winmd file is. let me google. | 12:43.03 |
| Ok, so the winmd is supposed to contain the winrt specific code (the javascript or the .net implementation). | 12:44.49 |
| We don't have any such code in the main mupdf repo at the moment. | 12:45.00 |
| mupdf is a C library. | 12:45.06 |
| If you want to use it from .net etc (i.e. as part of a uwp app) then you need a wrapper for it. | 12:45.56 |
| You could do that yourself. | 12:46.17 |
| Or, you might be able to lift some code from gsview 6.0 as that has a wrapper layer in it. | 12:46.36 |
| You'd need to talk to mvrhel about the latter. | 12:47.20 |
| and he won't be around for about 50 hours or so. | 12:47.34 |
araxe | Understood. I tried using this wrapper: https://github.com/MishaUliutin/MuPDF.WinRT. winmd this error is due to the fact that the projects are StaticLibrary, these do not create the file winmd and you cannot add the project reference? | 12:52.16 |
| Anyway I'll try again using the .NET project and wait for mvrhel, thank you very much. | 12:53.44 |
Robin_Watts | np. | 12:53.51 |
ntwk | Hi all. I'm reading a lot of DjVu documents this days and I find myself missing the MuPDF experience. Can anyone recommend a DjVu viewer that is similar in form and function to MuPDF? | 22:51.15 |
| Forward 1 day (to 2016/12/11)>>> | |