gofont

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT, Unlicense Imports: 16 Imported by: 261

Documentation

Overview

Package gofont exports the Go fonts as a text.Collection.

See https://blog.golang.org/go-fonts for a description of the fonts, and the golang.org/x/image/font/gofont packages for the font data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collection

func Collection() []font.FontFace

Regular returns a collection of all available Go font faces.

func Regular

func Regular() []font.FontFace

Regular returns a collection of only the Go regular font face.

Types

This section is empty.

Jump to

Keyboard shortcuts

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