OK, I admit it wasn't so obvious...
I think the base issue is that this file is an OTF file (open type format) instead of a TTF (true type format). The former is more advanced than the latter, so lot of utilities acting on TTF won't work on OTF.
I was curious of the usage of SVG fonts, so I tried to do the conversion. I downloaded the font.
I have Batik 1.7 installed, so I tried the command:
- > java -jar C:\Java\batik-1.7\batik-ttf2svg.jar Champignon.otf -l 32 -h 126 -id Champigon -o Champignon.svg -testcard
- java.lang.NullPointerException
- at org.apache.batik.svggen.font.Font.read(Font.java:181)
- at org.apache.batik.svggen.font.Font.create(Font.java:197)
- at org.apache.batik.svggen.font.SVGFont.main(SVGFont.java:701)
- at org.apache.batik.apps.ttf2svg.Main.main(Main.java:34)
- null
Not much surprise...
A page reveals that FontForge can convert such file, but I prefer to go the easy route.
I went to
http://onlinefontconverter.com/ and asked it to convert my OTF file to SVG.
I went to
Using TTF's as PFonts in Processing.js page and downloaded the package.
I trimmed down the sample code, and put ttf-pfont-pjs.html, Champignon.svg and processing.min.js in a folder on the Web server.
Well, I saw the page, but not the font. Not sure what is wrong there.
So, while I was on the font conversion page, I asked for a TTF version of the font.
And then I used the above command (replacing otf with ttf) to get another SVG file.
Replacing the old one with the new one worked! So, here is a way for you to get your file.