How to specify font locations for PDF2SVG

How does PDF2SVG determine where fonts are located? On windows is it just c:\windows\fonts?

The latest version of PDF2SVG now supports the option to pass in a xml file that specifies font substitutions. An example xml file is attached.

pdf2svg.exe --config config.xml in.pdf -o outdir


See the following documentation for how this file works.

And here is an example xml file (or see attached).


<?xml version="1.0" encoding="utf-8" ?>


Can this config file be utilized from API as well (PDFNet, API for conversion of PDF to SVG).


From the PDFNet SDK API, you can use PDFNet::AddFontSubst: