picofont

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package picofont provides the Pico-8 font created by Zep.

The font is available under the CC0 license: https://creativecommons.org/publicdomain/zero/1.0/

Index

Constants

This section is empty.

Variables

View Source
var Sheet = pifont.Sheet{
	Height:  8,
	FgColor: 1,
	BgColor: 0,
}

Sheet provides 256 characters. The first 128 characters (0–127) have 4px width, while the last 128 characters (128–255) have 8px. See font.png for details.

Functions

func Print

func Print(text string, x, y int) (currentX, currentY int)

Print writes text on the screen using the Pico-8 font.

Returns the x, y position where you can continue writing text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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