blampe / goat

Render ASCII art as SVG diagrams
MIT License
668 stars 44 forks source link

How to Change Font of the Text in the Output SVG File #28

Open cricrazy opened 7 months ago

cricrazy commented 7 months ago

For the given ASCIIArt, if I have some Text, I would like to have this Text in the output image as Regular Fonts and Not Monospaced fonts. How can I change the font setting for the output image file?

 Step 1
   |
   v
 Step 2
   |
   v
  End

gives this output.

image

dmullis commented 5 months ago

This would be of very narrow application, since any graphics to the right of such text would fall out of X-axis alignment with rows above and below.

Recommend "won't fix".

dmullis commented 5 months ago

Reopening based on title of issue, not specific variable pitch fonts, which remain impractical, due to alignment issues.

Alternate fixed pitch fonts however are practical; there's no reason not to allow their specification as configuration options.