Is there a skinparam to change the font used by salt like for other diagram types?

0 votes
asked Mar 20 in Question / help by anonymous
I'm working on an embedded system with limited GUI capabilities (especially we have only monospaced fonts) and for demonstration purpose it would be nice to draw several input masks as close as the final solution.

But so far I didn't find out how salt can be configured to use a monospaced font.

1 Answer

0 votes
answered Mar 20 by The-Lu (28,080 points)

Hello A.,

A first attempt is:

saltDiagram {
  BackgroundColor #33668E
  Fontname Monospaced
  FontSize 10
  FontStyle italic
  LineThickness 0.5
  LineColor yellow

But without success for Fontname, only for BackgroundColor... (tested on v 1.2021.3beta7)


  • Could you plan to manage FontName style and other parameters (other than BackgroundColor) for style on salt diagram ?

If that can help,

commented Mar 21 by Martin (4,840 points)

You can use the creole ""monospaced"" syntax, but it's a bit laborious: