This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / include / freetype / ftnames.h
1 /***************************************************************************/
2 /*                                                                         */
3 /*  ftnames.h                                                              */
4 /*                                                                         */
5 /*    Simple interface to access SFNT name tables (which are used          */
6 /*    to hold font names, copyright info, notices, etc.).                  */
7 /*                                                                         */
8 /*    This is _not_ used to retrieve glyph names!                          */
9 /*                                                                         */
10 /*  Copyright 1996-2000 by                                                 */
11 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
12 /*                                                                         */
13 /*  This file is part of the FreeType project, and may only be used,       */
14 /*  modified, and distributed under the terms of the FreeType project      */
15 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
16 /*  this file you indicate that you have read the license and              */
17 /*  understand and accept it fully.                                        */
18 /*                                                                         */
19 /***************************************************************************/
20
21
22 #ifndef FTNAMES_H
23 #define FTNAMES_H
24
25
26 #include <freetype/freetype.h>
27
28
29   typedef struct  FT_SfntName_
30   {
31     FT_UShort  platform_id;
32     FT_UShort  encoding_id;
33     FT_UShort  language_id;
34     FT_UShort  name_id;
35   
36     FT_Byte*   string;
37     FT_UInt    string_len;  /* in bytes */
38   
39   } FT_SfntName;
40
41
42   FT_EXPORT_DEF( FT_UInt )  FT_Get_Sfnt_Name_Count( FT_Face  face );
43   
44   FT_EXPORT_DEF( FT_Error )  FT_Get_Sfnt_Name( FT_Face       face,
45                                                FT_UInt       index,
46                                                FT_SfntName*  aname );
47                                                
48
49 #endif /* FTNAMES_H */
50
51
52 /* END */