I'm still looking for lightweight alternatives to work with and display Postscript or SVG files. I've previously compiled some of the information I've found on PDF and Postscript related programs here: https://lmemsm.dreamwidth.org/3702.html As mentioned, programs such as abcm2ps, lcal, pcal and others output to Postscript. So, I wanted to find a lightweight way to view the output. The abcm2ps program can also output to SVG. One thought was to convert Postscript or SVG to PDF and view the files with mupdf. So, far I haven't found a solution I've been happy with.

I wanted to avoid heavyweight programs and dependencies such as Ghostscript and librsvg. I've been using nanosvg for SVG files. There's an example svgview utility that comes with it. SDL2_img now supports SVG using nanosvg, so you can load and view images that way. I often use picaxo for quick image viewing and since it uses SDL2_img, it's able to support display of some SVG files. I've also been experimenting with an older version of mupdf that was released under a GPLv3 license. Along with adding cbr support (thanks to a FLOSS library from sumatrapdf), I added SVG support using nanosvg. I haven't tried the latest release of mupdf, but I did try a version a few years ago and nanosvg did a better job of handling SVG files than the mupdf code at the time.

I recently found an interesting lightweight SVG to PDF converter than uses nanosvg and libharu. Thought it might be worth checking out. It's called svgtopdf: https://github.com/MichaelMorozIQDirect/svgtopdf There's also a fork with some improvements at: https://github.com/Erroneous1/svgtopdf/tree/improvement/CurveTo As in the other solutions I've tried, it works well for some SVG examples but not others. I thought it was a very clever idea though. Biggest drawback with the program is that there's no information on licensing. I can't tell whether it would qualify as a FLOSS program or not. Would be nice if the author clarified the situation. It's written for Windows, but I believe it would be fairly easy to port to other operating systems.

I haven't found the solution I've been looking for, but trying svgtopdf did give me an excuse to update my libharu build scripts. I've switched them from using cmake to using CDetect, pkgconf and make. The library builds and works quite well. Haven't tracked down all the bug fixes and patches since version 2.3.0 and I don't think there have been any official releases since then. However, if I find some other programs I need that depend on it, I'll definitely look into updating the source with some of the patches others have created for it. Seems like it could be a useful library.

I am still trying to find utilities that handle rendering abcm2ps output properly. So far, I've found no lightweight solutions. Heavyweight browsers or Ghostscript can handle the situation, but I'd really like to find alternatives that are easier to build from source and would be more efficient on very low resource computers.

Also ran across an interesting C program to concatenate PDF files called pdfconcat:
https://github.com/pts/pdfconcat
I asked on github about the license since it wasn't indicated and just found out from the developer that the license is GPLv2. Looks like a nice program. Definitely worth sharing.

If you know of other lightweight SVG, Postscript or PDF utilities or conversion programs with minimal dependencies, I'd be very interested to hear about them.
FLOSS CAD software:

https://brlcad.org/
BRL-CAD is a constructive solid geometry (CSG) solid modeling computer-aided design (CAD) system

https://sourceforge.net/projects/librecad/
LibreCAD is a Free Open Source 2D CAD application for Windows, Apple and Linux

https://www.openscad.org/
OpenSCAD is the Programmers Solid 3D CAD Modeller
http://www.openscad.org/downloads.html
http://scorchworks.com/ScorchCAD/scorchcad.html
formats: DXF, STL, OFF

http://solvespace.com/download.pl
SOLVESPACE is a parametric 2D/3D CAD
formats: DXF, EPS, PDF, SVG, HPGL, STEP, STL, OBJ,

https://www.freecadweb.org/
FreeCAD is an Open Source parametric 3D CAD modeler

https://archimedescad.github.io/Archimedes/
Archimedes is Free and Open Source CAD Software

https://chocolatey.org/packages/jwcad
http://www.jwcad.net/
jw_cad is a popular 2D CAD from Japan.

https://github.com/mkeeter/antimony
Antimony is a CAD tool based on LISP.

https://github.com/colah/ImplicitCAD
ImplicitCAD is a CAD program written in Haskell which handles. CSG, bevels, and shells, 2D and 3D and gcode generation.

https://github.com/qcad/qcad
QCAD Community Edition is a 2D CAD for Windows, Linux and Mac.

https://github.com/zecruel/CadZinho
CadZinho is a minimalist CAD program using the Nuklear GUI.


FLOSS 3D Printing Related Software:

http://www.salome-platform.org/downloads/current-version
SALOME is an Open Source Integration Platform for Numerical Analysis

http://www.k-3d.org/
K-3d is 3D Modeling and Animation software.

http://shapesmith.net/
ShapeSmith offers parametric, Open source, 3D modelling in a browser

http://slic3r.org/
Slic3r is an Open Source 3D printing toolbox.
G-code generator for 3D printers. Exports SVG slices.

http://dkobozev.github.io/tatlin/
Tatlin is a multi-platform Gcode and STL viewer for 3D printing

https://sourceforge.net/projects/meshlab/files/meshlab/MeshLab%20v1.3.3/
MeshLab is a mesh processing system for user assisted editing, cleaning, filtering and rendering of large unstructured 3D triangular meshes.

https://www.kicad-pcb.org/
KiCad is an Electronic Design Automation Suite

http://www.wings3d.com/
Wings 3D is an advanced subdivision modeler that is both powerful and easy to use.

https://wdune.ourproject.org/
White Dune is a VRML/X3D editor

http://www.gnuplot.info/
gnuplot is a 2D/3D plotter

http://www.artofillusion.org
Art of Illusion is a free, open source 3D modelling and rendering studio.

http://www.blender.org
Blender is a Free Open Source 3D creation suite.

https://www.libreoffice.org/download
LibreOffice Draw is a vector graphics editor.

http://bricksmith.sourceforge.net/
Bricksmith is a 3D virtual LEGO modeller.

https://github.com/OctoPrint/OctoPrint
OctoPrint provides a web interface for controlling 3D printers.

https://github.com/WEREMSOFT/stl-loader-for-raylib
stl-loader-for-raylib provides functionality to load, manipulate and render STL files on Raylib.


SVG software:

https://github.com/SVG-Edit/svgedit
svg-edit is a powerful SVG editor in a browser

https://github.com/cast-org/cwm-drawtool
CWM Draw Tool is an easy to use drawing tool based on svg-edit

https://wiki.gnome.org/Apps/Dia
Dia is a diagram creation program
formats: EPS, SVG, XFIG, WMF, PNG

https://inkscape.org/
Inkscape is a professional vector graphics editor


2D tools:

https://sourceforge.net/projects/ktoon.berlios/
KToon is a 2D animation toolkit

https://www.synfig.org/
Synfig is an Open Source 2D animation studio

http://www.pencil2d.org/
Pencil2D is a tool to make 2D hand-drawn animations

https://github.com/hlorus/CAD_Sketcher
CAD Sketcher is a constraint-based sketcher addon for Blender that allows creation of precise 2D shapes by defining a set of geometric constraints such as tangent, distance, angle, equal and more.


Other resources:

For more graphics related programs, see http://www.distasis.com/cpp/pbtc.htm#pb3

April 2025

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
27282930   

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 24th, 2025 12:11 am
Powered by Dreamwidth Studios