1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
(***********************************************************************)
(* *)
(* Active-DVI *)
(* *)
(* Projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 2002 Institut National de Recherche en Informatique et *)
(* en Automatique. All rights reserved. This file is distributed *)
(* under the terms of the GNU Lesser General Public License. *)
(* *)
(* Jun Furuse, Didier Rmy and Pierre Weis. *)
(* Contributions by Roberto Di Cosmo, Didier Le Botlan, *)
(* Xavier Leroy, and Alan Schmitt. *)
(* *)
(* Based on Mldvi by Alexandre Miquel. *)
(***********************************************************************)
(* $Id: ttfont.mli,v 1.1 2007/01/18 14:14:37 rousse Exp $ *)
type face;;
type bitmap = string
and char_def = {
code : int;
dx : int;
dy : int;
width : int;
height : int;
hoffset : int;
voffset : int;
mutable bitmap : bitmap;
};;
val load_face : string -> face;;
val build : face -> int -> int -> int -> char_def;;
val jis2uni : int -> int;;
|