Font
class Font extends Userdata<"fz_font"> { }
constructor(
name: string,
data: AnyBuffer,
subfont: number,
);constructor(pointer: Pointer<"fz_font">);
advanceGlyph(gid: number, wmode?: number): number;
encodeCharacter(uni: number | string): number;
getName(): string;
isBold(): boolean;
isItalic(): boolean;
isMono(): boolean;
isSerif(): boolean;
static readonly ADOBE_CNS: number;
static readonly ADOBE_GB: number;
static readonly ADOBE_JAPAN: number;
static readonly ADOBE_KOREA: number;
static readonly CJK_ORDERING_BY_LANG: Record<FontCJKLanguage, FontCJKOrdering>;
static readonly SIMPLE_ENCODING: FontSimpleEncoding[];