internal

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT, Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FontLib

type FontLib struct {
	// contains filtered or unexported fields
}

func MkFontLib

func MkFontLib() *FontLib

func (*FontLib) Adapt

func (fl *FontLib) Adapt(method any) *FontLib

func (FontLib) Join

func (fl FontLib) Join(elm ...string) string

func (FontLib) NewFont

func (fl FontLib) NewFont(bb []byte) (
	*font.Font, metadata.Description, error,
)

func (FontLib) ReadDir

func (fl FontLib) ReadDir(d string) ([]fs.DirEntry, error)

func (FontLib) ReadFile

func (fl FontLib) ReadFile(name string) ([]byte, error)

func (FontLib) Shape

func (fl FontLib) Shape(i shaping.Input) shaping.Output

Jump to

Keyboard shortcuts

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