-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpdfglyphlist.mli
36 lines (25 loc) · 1.33 KB
/
pdfglyphlist.mli
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
(** Glyph Lists *)
(** The Adobe Glyph List, which maps character names to sequences of unicode
codepoints. The source list is parsed into a hash table when called. *)
val glyph_hashes : unit -> (string, int list) Hashtbl.t
(** The reverse of [glyph_hashes]. The glyph list is not necessarily a
one-to-one map, so this reversal is heuristic. *)
val reverse_glyph_hashes : unit -> (int list, string) Hashtbl.t
(** Convert a glyph name to a PDF encoding number *)
val name_to_pdf : (string * int) list
(** Convert a glyph name to a PDF encoding number, hash table version *)
val name_to_pdf_hashes : (string, int) Hashtbl.t
(** Convert a PDF encoding number to glyph name, hash table version. *)
val reverse_name_to_pdf_hashes : (int, string) Hashtbl.t
(** Convert a glyph name to a Windows encoding number *)
val name_to_win : (string * int) list
(** Convert a glyph name to a Standard encoding number *)
val name_to_standard : (string * int) list
(** Convert a glyph name to a MacRoman encoding number *)
val name_to_macroman : (string * int) list
(** Convert a glyph name to a MacExpert encoding number *)
val name_to_macexpert : (string * int) list
(** Convert a glyph name to a Symbol encoding number *)
val name_to_symbol : (string * int) list
(** Convert a glyph name to a Dingbats encoding number *)
val name_to_dingbats : (string * int) list