font

package
v0.0.0-...-d956aad Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: Unlicense Imports: 2 Imported by: 0

Documentation

Overview

Package font implements a central font registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() *text.Shaper

Default returns a singleton *text.Shaper that contains the registered fonts.

func Register

func Register(font text.Font, face text.Face)

Register a face. Register panics if Default has been called.

Types

This section is empty.

Directories

Path Synopsis
Package gofont registers the Go fonts in the font registry.
Package gofont registers the Go fonts in the font registry.
Package opentype implements text layout and shaping for OpenType files.
Package opentype implements text layout and shaping for OpenType files.

Jump to

Keyboard shortcuts

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