fonts

package
v0.0.0-...-180210d Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFont

func AppendFont(collection []text.FontFace, fontProps font.Font, fontBytes []byte) []text.FontFace

appendFont loads a font from a byte slice and adds it to the collection.

func LoadFontFile

func LoadFontFile(path string) []byte

loadFontFile reads a font file from disk.

func LoadFontURL

func LoadFontURL(url string) []byte

LoadFontURL fetches a font file from a URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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