Documentation ¶
Overview ¶
Package classdef reads and writes OpenType "Class Definition Tables". https://docs.microsoft.com/en-us/typography/opentype/spec/chapter2#classDefTbl
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
Table contains the information from an OpenType "Class Definition Table". All glyphs not assigned to a class fall into Class 0.
func (Table) Glyphs ¶
Glyphs returns the glyphs for each non-zero class in the Table. The first entry of the returned slice, corresponding to class 0, is always nil.
func (Table) NumClasses ¶
NumClasses returns the number of classes in the table. The count includes the zero class.
Click to show internal directories.
Click to hide internal directories.