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.8.0 (latest)
Published
Jan 14, 2025
Platform
linux/amd64
Imports
16 packages
Last checked
12 hours ago

Tools for package owners.