font_svc

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidateCache

func InvalidateCache()

InvalidateCache clears the in-memory cache so the next ListFamilies call re-scans. Exposed for cases where the user just installed a new font and we want to refresh without restarting the app.

func ListFamilies

func ListFamilies(ctx context.Context) ([]string, error)

ListFamilies returns installed font family names. It prefers fontconfig when available and falls back to parsing common system font directories. Results are cached for the lifetime of the process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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