Search code examples
fontsthemesplantuml

What are the fonts used in the none theme of PlantUML?


I want to reproduce the fonts used in the PlantUML none theme. I need this to make graphics generated with another tool consistent with my PlantUML diagrams.

I tried looking at the /themes in PlantUML's GitHub repository but the fonts for the none theme aren't explicitly coded and I can't figure out what they are.

In other words, what are the fonts used in the type icons (e.g. C for Class, I for Interface, etc..), labels and fields in the class diagram for the default none theme as shown below?

class diagram of none theme


Solution

  • Using -svg output, I find

    font-family="sans-serif"
    

    This is probably rendered using an Arial font. But there are other sans-serif fonts like Helvetica and Calibri.