Documentation
¶
Overview ¶
Package fonts provides embedded TTF fonts shared across StageFreight packages.
Index ¶
Constants ¶
View Source
const DefaultFont = "dejavu-sans"
DefaultFont is the config name of the default built-in font.
Variables ¶
View Source
var Builtin = map[string]string{
"dejavu-sans": "DejaVuSans.ttf",
"vera": "Vera.ttf",
"monofur": "Monofur.ttf",
"vera-mono": "VeraMono.ttf",
"ethereal": "Ethereal.ttf",
"playpen-sans": "PlaypenSans.ttf",
"doto": "Doto.ttf",
"penyae": "Penyae.ttf",
}
Builtin maps config names to embedded filenames.
View Source
var FS embed.FS
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.