package font
import "golang.org/x/mobile/exp/font"
Package font provides platform independent access to system fonts.
Index ¶
Functions ¶
func Default ¶
func Default() []byte
Default returns the default system font. The font is encoded as a TTF.
func Monospace ¶
func Monospace() []byte
Monospace returns the default system fixed-pitch font. The font is encoded as a TTF.
Source Files ¶
doc.go font.go font_linux.go
- Version
- v0.0.0-20250408133729-978277e7eaf7 (latest)
- Published
- Apr 8, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 14 hours ago –
Tools for package owners.