markarray

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package markarray contains types for representing OpenType mark array tables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Class uint16
	anchor.Table
}

Record is a mark record in a Mark Array Table. Each mark record defines the class of the mark and its anchor point. https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#mark-array-table

func Read

func Read(p *parser.Parser, pos int64, numMarks int) ([]Record, error)

Read reads a Mark Array Table from the given parser. If there are more than numMarks entries in the table, the remaining entries are ignored.

Jump to

Keyboard shortcuts

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