fonts

package
v0.0.0-...-f38051e Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Unlicense Imports: 3 Imported by: 0

Documentation

Overview

Package fonts embeds a font and provides for loading it magics from https://github.com/hajimehoshi/ebiten/blob/main/examples/resources/fonts/embed.go

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed mplus-1p-regular.ttf
	MPlus1pRegular_ttf []byte
)

Functions

func Font

func Font(size, dpi float64) (fnt font.Face, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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