Bringing apdf from vendor into main branch.
[AROS-Contrib.git] / apdf / freetype2 / include / freetype / ftbdf.h
blobc33f9fc217d36c35418704e48e4b8e4533187011
1 /***************************************************************************/
2 /* */
3 /* ftbdf.h */
4 /* */
5 /* FreeType API for accessing BDF-specific strings (specification). */
6 /* */
7 /* Copyright 2002 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */
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. */
15 /* */
16 /***************************************************************************/
19 #ifndef __FTBDF_H__
20 #define __FTBDF_H__
22 #include <ft2build.h>
23 #include FT_FREETYPE_H
26 FT_BEGIN_HEADER
29 /*************************************************************************/
30 /* */
31 /* <Section> */
32 /* bdf_fonts */
33 /* */
34 /* <Title> */
35 /* BDF Fonts */
36 /* */
37 /* <Abstract> */
38 /* BDF-specific APIs */
39 /* */
40 /* <Description> */
41 /* This section contains the declaration of BDF-specific functions. */
42 /* */
43 /*************************************************************************/
46 /**********************************************************************
48 * @function:
49 * FT_Get_BDF_Charset_ID
51 * @description:
52 * Retrieves a BDF font character set identity, according to
53 * the BDF specification.
55 * @input:
56 * face ::
57 * handle to input face
59 * @output:
60 * acharset_encoding ::
61 * Charset encoding, as a C string, owned by the face.
63 * acharset_registry ::
64 * Charset registry, as a C string, owned by the face.
66 * @return:
67 * FreeType rror code. 0 means success.
69 * @note:
70 * This function only works with BDF faces, returning an error otherwise.
72 FT_EXPORT( FT_Error )
73 FT_Get_BDF_Charset_ID( FT_Face face,
74 const char* *acharset_encoding,
75 const char* *acharset_registry );
77 /* */
79 FT_END_HEADER
81 #endif /* __FTBDF_H__ */
84 /* END */