opentype

package
Version: v0.0.0-...-e0cf570 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT, Unlicense Imports: 4 Imported by: 41

Documentation

Overview

Package opentype implements text layout and shaping for OpenType files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Face

type Face struct {
	// contains filtered or unexported fields
}

Face is a shapeable representation of a font.

func Parse

func Parse(src []byte) (Face, error)

Parse constructs a Face from source bytes.

func (Face) Face

func (f Face) Face() font.Face

Source Files

Jump to

Keyboard shortcuts

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