import type { int16, uint16, uint32 } from "../../types.ts"; import type { Reader } from "../binary/reader.ts"; /** * post table - PostScript font information * Contains additional PostScript info like glyph names and italic angle */ export interface PostTable { version: number; italicAngle: number; underlinePosition: int16; underlineThickness: int16; isFixedPitch: uint32; minMemType42: uint32; maxMemType42: uint32; minMemType1: uint32; maxMemType1: uint32; numberOfGlyphs?: uint16; glyphNameIndex?: uint16[]; names?: string[]; } /** * Parse post table - PostScript information including glyph names * @param reader - Reader positioned at start of post table * @returns Parsed post table */ export declare function parsePost(reader: Reader): PostTable; /** Get glyph name by glyph ID */ export declare function getGlyphName(post: PostTable, glyphId: number): string | null; /** Check if font is monospaced */ export declare function isMonospaced(post: PostTable): boolean;