From a24cc83ffadc21bd0d158e10d9b973bd4d186de2 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sun, 5 Dec 2021 12:12:24 -0500 Subject: [PATCH] Updated readme with information about pdf2svg --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a1a7696..14e964b 100644 --- a/README.md +++ b/README.md @@ -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 ```` -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). +