Open VaiTon opened 2 years ago
2022 might not have been the year of LCP, but lately I've noticed that openlibrary and Libby are both using it. I use Foliate on my linux phone and it would be nice to have this support.
Thanks
The main hurdle would be how one could integrate LCP's C++ library. I guess either they would provide a version of the library compiled as WebAssembly, or one would have to write a wrapper so that the library can be used from GJS, since (AFAIK) GJS can't use C/C++ libraries directly. But that's only step one. Another problem is how one would handle distributing the library. Apart from the technical issues, I'm not sure whether such a proprietary library can be included within Foliate, which is GPL licensed.
Thanks for your quick reply.
After reading through the reply several times I have to admit it may not make sense to include proprietary code in an opensource application. Perhaps one could do so using a an optional plugin. LCP offers there own linux reader and phone apps and Pocketbook devices support LCP, likely others do or will in the near future.
Regarding the coding part of this reply all I can offer is a link to LCP's faq, which you may have already seen.
Is your feature request related to a problem? Please describe. AFAIK Foliate is unable to open the new LCP standard.
Describe alternatives you've considered There are other apps, in particular thorium reader, developed by the EDRLab, but they are not native.