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
|
(***********************************************************************)
(* *)
(* 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: devfont.mli,v 1.1 2007/01/18 14:14:35 rousse Exp $ *)
module type DEVICE = sig
type glyph
val make_glyph : Glyph.t -> glyph
end ;;
module type DEVFONT = sig
type glyph
val find_metrics : string -> float -> (int * int) Table.t
val find_glyphs : string -> float -> glyph Table.t
end ;;
module Make (Dev : DEVICE) : DEVFONT with type glyph = Dev.glyph ;;
|