HOME      NEWS      MAP

Font

To know fonts available on your system, you may use the following special syntax:
@startuml
listfonts
@enduml
list all font of your system
You can also add an optional sentence to be displayed:
@startuml
listfonts 私は申し訳ありません:私は日本語を話さない。
@enduml
test a font with unicode characters

Examples

Those fontname can be used in any UML diagrams.
@startuml
skinparam defaultFontName Arial Black
Alice -> Bob : hello
@enduml
changing default font to Arial
@startuml
skinparam defaultFontName Arial Black
Room *-- Chair : "1" has "several"
@enduml
changing default font to Arial in class diagram
@startuml
skinparam defaultFontName MS Gothic
部屋 *-- 椅子 : "1" 持っています "いくつか"
@enduml
example of UML diagram with CJK font

You can also change font using skinparam command.

HOME      NEWS      MAP