import type { Reader } from "../binary/reader.ts"; /** * fpgm table - Font program * Contains TrueType instructions to be executed once when the font is loaded */ export interface FpgmTable { /** Raw bytecode instructions */ instructions: Uint8Array; } /** * prep table - CVT program (Control Value Program) * Contains TrueType instructions executed whenever the font size or transformation changes */ export interface PrepTable { /** Raw bytecode instructions */ instructions: Uint8Array; } /** * cvt table - Control Value Table * Contains values referenced by TrueType instructions for consistent spacing/positioning * Values are in FUnits (font design units) */ export interface CvtTable { /** Control values (FWORD, i.e., int16 in font units) */ values: Int16Array; } /** * Parse fpgm table */ export declare function parseFpgm(reader: Reader): FpgmTable; /** * Parse prep table */ export declare function parsePrep(reader: Reader): PrepTable; /** * Parse cvt table */ export declare function parseCvt(reader: Reader): CvtTable;