Font
The Font type represents a font. See Fonts for more information on how to declare and use fonts.
pub font Font:Roboto(regular=@roboto.ttf, bold=@roboto-bold.ttf)
pub game fn World.Main() {
Content {
P(font=Font:Heading, fontSize=3) { "Hello, world!" }
}
TextSprite("Hello, world!", font=Font:Roboto, fontSize=1.5, body=@(0, 0))
}