gioui.orggioui.org/font/gofont Index | Files

package gofont

import "gioui.org/font/gofont"

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

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.

Source Files

gofont.go

Version
v0.2.0
Published
Aug 3, 2023
Platform
js/wasm
Imports
16 packages
Last checked
2 minutes ago

Tools for package owners.