Closed asinghvi17 closed 2 years ago
We can use Poppler to do this, as in https://www.cairographics.org/cookbook/renderpdf/.
This has the advantage of maintaining hyperlinks and other PDF elements when Cairo saves to PDF.
Also to note: text looks a little thinner than normal LaTeX rendered text on master. This is likely because we transform text to paths when converting from PDF to SVG.
We can use Poppler to do this, as in https://www.cairographics.org/cookbook/renderpdf/.
This has the advantage of maintaining hyperlinks and other PDF elements when Cairo saves to PDF.