How to use SVG fonts with CLI or Python API ?

Home Evil Mad Scientist Forums AxiDraw How to use SVG fonts with CLI or Python API ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #29678

    I found this great list of center line fonts on Windell’s gitlab
    But it is unclear to me how to assemble a string and get it plotted using CLI or Python API.
    I believe that Inkscape can somehow utilize these SVG and EMS fonts, but I am working on a larger interactive artwork that needs to assemble and plot text on the fly.
    I have worked with both APIs before to draw SVG files and also use moveto and lineto commands; though I could not find any hints about the fonts.

    I appreciate any advice.
    Thank you

    • This topic was modified 3 weeks, 4 days ago by Windell Oskay.
    • This topic was modified 3 weeks ago by Windell Oskay. Reason: Requested spelling correction
    Windell Oskay

    Those fonts are used by Hershey Text.


    Noted. Thanks.

    I noticed I misspelled SVG and instead wrote SVF in the title. Is there a way to edit that?

    I thought that the Axidraw API would have a way to interface/use the Hershey Text, since Inkscape does it too.
    But it’s not a big problem.

    I integrated these fonts in the ofxHersheyText openframeworks addon:
    And here how to parse the font’s SVGs in to a string that can be run as a python script that then uses the axidraw API to plot.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.