fonts

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: AGPL-3.0, AGPL-3.0-only Imports: 2 Imported by: 0

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.

Functions

func Names

func Names() []string

Names returns sorted list of available built-in font names.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL