Quartz - Data Visualization Library (aimed at publication, not interactive display)

I have now refactored the whole library to use resvg as a renderer (and text measurer). The only thing that doesn’t work yet is text rotation. Otherwise, it has feature parity with what I had before.

The figure below, while unimpressive is a plot of 50,000 semi-transparent random dots in a scatter plot, rendered into PNG in less than a second by resvg at a resolution of 300dpi. This confirms to me that resvg is the way to go for both text measurement and rendering.

Now I just have to find a library that can convert SVG into PDF (maybe resvg can do that somehow?) and a way to embed fonts in SVG files so that they are portable. And for full portability, I need to make my linear solver work outside linux. Maybe I can repurpose one of the rust solvers out there with some help.

2 Likes