Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Well you may want to check out https://github.com/Chlumsky/msdfgen fwiw; that's what I'll likely use for the text rendering portion of a project I have planned, and it can result in some pretty great-looking text.
For example, if you're targeting the browser, why not create a WebGPU-based renderer for pdf.js as a starting point, then implement the PDF parsing in Rust later and swap the JS implementation for the Rust one?
I copied a lot from lopdf which is a terrific library for PDF parsing. I don't rely on it explicitly as a dependency because there are some things I'm choosing to do differently, but I'd say at least 80% of the parsing logic is the same so it helped me to bootstrap quite a bit.