font

package
v0.0.0-...-311b70d Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Overview

Package gxfont provides default fonts.

Note that the Roboto and Droid Sans Mono fonts are owned by Google Inc. (one of the Go Authors) and released under the Apache 2 license. Any notices distributed with applications build with GXUI and using this package should include both the GXUI license and the fonts license.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Default is the standard GXUI sans-serif font.
	Default []byte = inflate(roboto_regular)

	// Monospace is the standard GXUI fixed-width font.
	Monospace []byte = inflate(droid_sans_mono)
)

Functions

func CreateFont

func CreateFont(data []byte, size int) (framework.Font, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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