Font

To know fonts available on your system, you may use the following special syntax:

🎉 Copied!

@startuml
listfonts
@enduml

You can also add an optional sentence to be displayed:

🎉 Copied!

@startuml
listfonts 私は申し訳ありません:私は日本語を話さない。
@enduml

Examples

Those fontname can be used in any UML diagrams.

🎉 Copied!

@startuml
skinparam defaultFontName Segoe UI
Room *-- Chair : "1" has "several"
@enduml

🎉 Copied!

@startuml
skinparam defaultFontName VL Gothic
部屋 *-- 椅子 : "1" 持っています "いくつか"
@enduml

You can also change font using skinparam command.


Privacy Policy      Advertise