Thanks, svg-render works great. I need to render SVGs that use "box drawing" ASCII art (terminal output, basically). Works great on Mac OS when I specify the Menlo font as font-family.
However, when I svg-render the same SVGs on a bare bones Ubuntu system, it obviously can't find Apple's Menlo font. Instead it uses a generic variable-spaced gothic Helvetica-like font.
However, I am almost sure that Ubuntu, even without graphical user interface, comes with at least ONE generic monospaced font. I tried specifying "Ubuntu Monospace" or "Ubuntu Mono" in the SVG, to no avail. Always renders the variable-spaced font.
Question: What is the path to making it render the SVGs on a Ubuntu system with a monospaced font? Maybe I just don't know the correct font-family name to pick. Ideally it would be the Menlo font or some open-source knockoff, but getting it to render ANY monospaced font at this point would be a victory.
Thanks for a great module!
Thanks,
svg-renderworks great. I need to render SVGs that use "box drawing" ASCII art (terminal output, basically). Works great on Mac OS when I specify theMenlofont asfont-family.However, when I
svg-renderthe same SVGs on a bare bones Ubuntu system, it obviously can't find Apple's Menlo font. Instead it uses a generic variable-spaced gothic Helvetica-like font.However, I am almost sure that Ubuntu, even without graphical user interface, comes with at least ONE generic monospaced font. I tried specifying
"Ubuntu Monospace"or"Ubuntu Mono"in the SVG, to no avail. Always renders the variable-spaced font.Question: What is the path to making it render the SVGs on a Ubuntu system with a monospaced font? Maybe I just don't know the correct
font-familyname to pick. Ideally it would be theMenlofont or some open-source knockoff, but getting it to render ANY monospaced font at this point would be a victory.Thanks for a great module!