Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPDF frontend #157
PDF frontend #157
Comments
|
I might look into that. I have created PDFs in Rust before, so not the worst precondition. |
|
Oh. I just realize "Pathfinder as a backend for a PDF renderer", not a PDF as a backend for Pathfinder. |
|
The symbol fonts might be caused by some fonts (e.g. cmsy) being bitmaps rather than type 1. There are ttf versions, e.g. https://ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/ I don't know if your TeX installation can be persuaded to use them. |
|
This is an example. It is a Type1C font (Compact Font Format). Glyph 3 is very much defined and has a valid outline. However I can't get the glyph out of font-kit's Font |
|
I managed to implement Type1 (PostScript, OpenType and CFF), Type2 (CFF) and TrueType (via stb-rusttype) in Rust. Stll has a lot of missing parts, but it can render a few PDFs so far. Code lives back in the pdf repository |
|
Progress report for those not on matrix:
|
|
We have a PDF frontend now. |

It would be nice to use Pathfinder as the backend for a PDF renderer.