fonts

package
Version: v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fonts contains the fonts "Aileron Black" and "Aileron Regular" by Sora Sagano (http://www.dotcolon.net/font/aileron/). As described in CC0 1.0 Universal, their author has waived all copyright and related or neighboring rights to the fonts to the extent possible under law.

Index

Constants

View Source
const BuiltinBlackIdentifier = "builtin-black"
View Source
const BuiltinRegularIdentifier = "builtin-regular"

Variables

View Source
var AileronBlackOTF []byte
View Source
var AileronRegularOTF []byte

Functions

func LoadBuiltinFonts

func LoadBuiltinFonts() map[string]*sfnt.Font

LoadBuiltinFonts loads the built-in fonts Aileron Black and Aileron Regular using sfnt.Parse It is not expected to fail, but if it does, it will panic.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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