Updated readme with information about pdf2svg

This commit is contained in:
Kenneth John Odle 2021-12-05 12:12:24 -05:00
parent a87c5f86a2
commit a24cc83ffa

View File

@ -30,4 +30,15 @@ A better solution may be to convert the pdf to an .eps file, using `pdftops`. Th
pdftops -eps input.pdf output.eps pdftops -eps input.pdf output.eps
```` ````
I am including both .tif and .eps images here (in the build folder) as I create them, but will probably go to just creating .eps images shortly. I am including both .tif and .eps images here (in the build folder) as I create them, ~~but will probably go to just creating .eps images shortly~~. **See next section**
### Convert to svg
The best solution I have found so far is to convert the files to svg. Not all utilities are equally adept at this, as most lost the font information. But [pdf2svg](https://github.com/dawbarton/pdf2svg) seems to have none of those limitations. It can easily be install with `apt` and has a very simple command structure:
````
pdf2svg input.pdf output.svg
````
(See also [this note](https://cityinthesky.co.uk/opensource/pdf2svg/) as pdf2svg has not been updated (although it still does work as of today).