File: ttfont.mli

package info (click to toggle)
advi 1.6.0-12%2Betch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 17,524 kB
  • ctags: 2,830
  • sloc: ml: 12,261; sh: 4,299; ansic: 935; makefile: 748; perl: 57; tcl: 10
file content (36 lines) | stat: -rw-r--r-- 1,543 bytes parent folder | download | duplicates (4)
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.3 2003/01/06 10:49:14 weis 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;;