fonts

package
v0.0.0-...-a545287 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 4 Imported by: 0

README

These are BDF fonts, a simple bitmap font-format that can be created by many font tools. Given that these are bitmap fonts, they will look good on very low resolution screens such as the LED displays.

Fonts in this directory are public domain (see the README) and help you to get started with the font support in the API or the text-util from the utils/ directory.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bdf4x6     = MatrixFont{"4x6.bdf"}
	Bdf5x7     = MatrixFont{"5x7.bdf"}
	Bdf5x8     = MatrixFont{"5x8.bdf"}
	Bdf6x9     = MatrixFont{"6x9.bdf"}
	Bdf6x10    = MatrixFont{"6x10.bdf"}
	Bdf6x12    = MatrixFont{"6x12.bdf"}
	Bdf6x13    = MatrixFont{"6x13.bdf"}
	Bdf6x13B   = MatrixFont{"6x13B.bdf"}
	Bdf6x13O   = MatrixFont{"6x13O.bdf"}
	Bdf7x13    = MatrixFont{"7x13.bdf"}
	Bdf7x13B   = MatrixFont{"7x13B.bdf"}
	Bdf7x13O   = MatrixFont{"7x13O.bdf"}
	Bdf7x14    = MatrixFont{"7x14.bdf"}
	Bdf7x14B   = MatrixFont{"7x14B.bdf"}
	Bdf8x13    = MatrixFont{"8x13.bdf"}
	Bdf8x13B   = MatrixFont{"8x13B.bdf"}
	Bdf8x13O   = MatrixFont{"8x13O.bdf"}
	Bdf9x15    = MatrixFont{"9x15.bdf"}
	Bdf9x15B   = MatrixFont{"9x15B.bdf"}
	Bdf9x18    = MatrixFont{"9x18.bdf"}
	Bdf9x18B   = MatrixFont{"9x18B.bdf"}
	Bdf10x20   = MatrixFont{"10x20.bdf"}
	BdfclR6x12 = MatrixFont{"clR6x12.bdf"}
	BdfhelvR12 = MatrixFont{"helvR12.bdf"}
)

Functions

func GetFont

func GetFont(f MatrixFont) font.Face

Types

type MatrixFont

type MatrixFont struct {
	FileName string
}

Jump to

Keyboard shortcuts

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