contrib/OWB: add correct SDL dependency, fix compilers used
[AROS-Contrib.git] / freetype1 / lib / extend / ftxcmap.h
blob38ed8e1d337cb5ed62a8707df3dd8945ab295e17
1 /*******************************************************************
3 * ftxcmap.h 1.0
5 * API extension for iterating over Cmaps
7 * Copyright 1996-1999 by Juliusz Chroboczek,
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
10 * This file is part of the FreeType project, and may only be used
11 * modified and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
17 ******************************************************************/
19 #ifndef FTXCMAP_H
20 #define FTXCMAP_H
22 #include "freetype.h"
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 /* Find the first entry of a Cmap. Its glyph index is returned */
29 /* in the "id" field, while the function returns the first valid */
30 /* character code in the Cmap. It returns -1 in case of failure. */
32 EXPORT_DEF
33 TT_Long TT_CharMap_First( TT_CharMap charMap,
34 TT_UShort* id );
37 /* Find the next entry of Cmap. Same return conventions. */
39 EXPORT_DEF
40 TT_Long TT_CharMap_Next( TT_CharMap charMap,
41 TT_UShort startId,
42 TT_UShort* id );
44 /* Find the last entry of a Cmap. Its glyph index is returned */
45 /* in the "id" field, while the function returns the last valid */
46 /* character code in the Cmap. It returns -1 in case of failure. */
48 EXPORT_DEF
49 TT_Long TT_CharMap_Last( TT_CharMap charMap,
50 TT_UShort* id );
53 #ifdef __cplusplus
55 #endif
57 #endif /* FTXCMAP_H */
60 /* END */