Download from:
https://spideroak.com/browse/share/Geert_Shared/sfx
I think this everything you need from me, if not, let me know.
Best, Geert
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fltkgeneral/7442f9a6-4bee-4031-87dd-fc6f315b6e9dn%40googlegroups.com.
What about FlaxPDF?
https://github.com/clbr/flaxpdf
Citation: "FlaxPDF is a fast, nice multithreaded PDF viewer for the desktop."
Requirements: Poppler, LZO, and FLTK 1.3.
AFAICT FlaxPDF is the PDF viewer of TinyCore Linux.
http://tinycorelinux.net/
I can't tell anything about it because I didn't use it - but now I became curious... ;-)
Would be interesting to test it with FLTK 1.4.
Cheers
Albrecht
On Saturday, November 16, 2024 at 7:05:04 AM UTC-6 Albrecht-S wrote:
Unfortunately for some of us, it has GPL license.
https://spideroak.com/browse/share/Geert_Shared/sfx
The Sfx.tar contains the source code of the viewer. There's also a makefile that that might help in getting it to compile and build on your own system (nothing fancy, just plain instructions). In the pi_lib there's some additional code of mine that you'll need as well. The main portion is a wrapper to hide platform specific threading code, but there's also some widgets (like a highlight button) that you can easily replace with standard fltk widgets. It works on Mac, but I never tested it on Windows (or Linux, but that uses posix so I guess it will work there as well).
Hello,
I found the tar files I made at the time and restored the download link:
https://spideroak.com/browse/share/Geert_Shared/sfx
The Sfx.tar contains the source code of the viewer. There's also a makefile that that might help in getting it to compile and build on your own system (nothing fancy, just plain instructions). In the pi_lib there's some additional code of mine that you'll need as well. The main portion is a wrapper to hide platform specific threading code, but there's also some widgets (like a highlight button) that you can easily replace with standard fltk widgets. It works on Mac, but I never tested it on Windows (or Linux, but that uses posix so I guess it will work there as well).
My code uses openCV for storing images, poppler for rendering and Podofo for creating PDF-s. My goal was to make a PDF viewer, especially for images not so much text, that would allow one to manipulate the images (hence opencv) and save the result (hence Podofo). At the time I had opencv 4.3, poppler 0.87.0 and Podofo 0.9.6. I haven't followed it too much, but poppler has since had a major overhaul, my code might need a new interface for that. The others I don't know. You need fltk 1.4, there was something missing in fltk 1.3, I don't remember what it was.
The executable I have works, although there's a few glitches here and there.
Please let me know if there's anything missing.
If you really take this up and use it for a PDF viewer of your own, please let me know as well.
All the best, Geert
Thanks a ton for sharing.
I have a long-standing desire to make a special PDF tool (*) -- a simple FLTK based viewer would be a great place to start. Of course, the way things have been going, I'll never have time to get around it it...
One thing I would really like is the ability to click on an individual (or group of) element(s) in the PDF (say a line, box, or text) and then manipulate them -- delete, no-show, isolate, etc. So, I'll need to take mouse XY, convert to page XY, and then search the PDF data for entities on or near the mouse click. Then I need to be able to manipulate individual entities from the PDF file.
In general, I haven't been able to figure out which PDF rendering and manipulating libraries are going to support that kind of use case -- any experience you have in this are would be very valulable.
I didn't notice any license declaration in Sfx.tgz or any of the files in that bundle. Would you mind picking a license, including it in the bundle, and re-uploading?
Thanks again,
Rob
(*) The tool would be a way to extract the original data from technical plots (mostly line graphs) stored in vector format in PDF files.
There are lots of tools like this for raster images (search Plot Digitizer) -- but I have never found one for vector images. I have done this many times by converting the PDF page to EPS and then editing that text file in an editor and decoding the PostScript commands. It is a slow and tedious process that is ripe for automation...
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fltkgeneral/40071520-de28-4f50-af97-7a978e8db125n%40googlegroups.com.
>> I didn't notice any license declaration in Sfx.tgz or any of the files in that bundle. Would you mind picking a license, including it in the bundle, and re-uploading?> Does it need one? As far as I'm concerned you can do with the code as you please.
Hello,
I didn't notice any license declaration in Sfx.tgz or any of the files in that bundle. Would you mind picking a license, including it in the bundle, and re-uploading?
Does it need one? As far as I'm concerned you can do with the code as you please. The viewer is working but there's still lot of work to do before it would be ready for a release. And also, I'm just an amateur programmer, I don't think the code meets any serious standards. I'd already be happy if anyone can do something useful with it. If you think it needs a license, can you suggest one and I'll include it. Something with as few restrictions as possible.
I took a bit of a closer look.Poppler is GPL v2 or v3. So that pretty much forces any code using Poppler to be GPL too.I didn't check if you had any other dependencies to ensure they were all self-consistent.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fltkgeneral/f85ff3ba-e8b0-4c01-9384-92e696a160f4n%40googlegroups.com.