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 (19,980 points)

Hello A.,

A first attempt is:

<style>
saltDiagram {
  BackgroundColor #33668E
  Fontname Monospaced
  FontSize 10
  FontStyle italic
  LineThickness 0.5
  LineColor yellow
}
</style>

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

@PlantUML:

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

If that can help,
Regards,
Th.

commented Mar 21 by Martin (3,880 points)

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


 

...