sig
  type t = {
    flags : int;
    minx : int;
    miny : int;
    maxx : int;
    maxy : int;
    italicangle : int;
    ascent : int;
    descent : int;
    capheight : int;
    stemv : int;
    xheight : int;
    avgwidth : int;
    maxwidth : int;
    firstchar : int;
    lastchar : int;
    widths : int array;
    subset_fontfile : Pdfio.bytes;
    subset : int list;
    tounicode : (int, string) Stdlib.Hashtbl.t option;
  }
  val parse :
    subset:int list -> Pdfio.bytes -> Pdftext.encoding -> Cpdftruetype.t list
end