Back to godoc.org
gioui.org/font

package font

v0.0.0 (278e9bc)
Latest Go to latest
Published: Jun 3, 2020 | Licenses: MIT, Unlicense | Module: gioui.org

Overview

Package font implements a central font registry.

Index

func Default

func Default() *text.FontRegistry

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier