OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftxf86.h */ | 3 /* ftxf86.h */ |
4 /* */ | 4 /* */ |
5 /* Support functions for X11. */ | 5 /* Support functions for X11. */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2002, 2003, 2004, 2006, 2007 by */ | 7 /* Copyright 2002-2004, 2006, 2007, 2013 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 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 */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
18 | 18 |
19 #ifndef __FTXF86_H__ | 19 #ifndef __FTXF86_H__ |
20 #define __FTXF86_H__ | 20 #define __FTXF86_H__ |
21 | 21 |
22 #include "../ft2build.h" | 22 #include <ft2build.h> |
23 #include "freetype.h" | 23 #include FT_FREETYPE_H |
24 | 24 |
25 #ifdef FREETYPE_H | 25 #ifdef FREETYPE_H |
26 #error "freetype.h of FreeType 1 has been loaded!" | 26 #error "freetype.h of FreeType 1 has been loaded!" |
27 #error "Please fix the directory search order for header files" | 27 #error "Please fix the directory search order for header files" |
28 #error "so that freetype.h of FreeType 2 is found first." | 28 #error "so that freetype.h of FreeType 2 is found first." |
29 #endif | 29 #endif |
30 | 30 |
31 | 31 |
32 FT_BEGIN_HEADER | 32 FT_BEGIN_HEADER |
33 | 33 |
(...skipping 21 matching lines...) Expand all Loading... |
55 /*************************************************************************/ | 55 /*************************************************************************/ |
56 | 56 |
57 | 57 |
58 /*************************************************************************/ | 58 /*************************************************************************/ |
59 /* */ | 59 /* */ |
60 /* <Function> */ | 60 /* <Function> */ |
61 /* FT_Get_X11_Font_Format */ | 61 /* FT_Get_X11_Font_Format */ |
62 /* */ | 62 /* */ |
63 /* <Description> */ | 63 /* <Description> */ |
64 /* Return a string describing the format of a given face, using values */ | 64 /* Return a string describing the format of a given face, using values */ |
65 /* which can be used as an X11 FONT_PROPERTY. Possible values are */ | 65 /* that can be used as an X11 FONT_PROPERTY. Possible values are */ |
66 /* `TrueType', `Type~1', `BDF', `PCF', `Type~42', `CID~Type~1', `CFF', */ | 66 /* `TrueType', `Type~1', `BDF', `PCF', `Type~42', `CID~Type~1', `CFF', */ |
67 /* `PFR', and `Windows~FNT'. */ | 67 /* `PFR', and `Windows~FNT'. */ |
68 /* */ | 68 /* */ |
69 /* <Input> */ | 69 /* <Input> */ |
70 /* face :: */ | 70 /* face :: */ |
71 /* Input face handle. */ | 71 /* Input face handle. */ |
72 /* */ | 72 /* */ |
73 /* <Return> */ | 73 /* <Return> */ |
74 /* Font format string. NULL in case of error. */ | 74 /* Font format string. NULL in case of error. */ |
75 /* */ | 75 /* */ |
76 FT_EXPORT( const char* ) | 76 FT_EXPORT( const char* ) |
77 FT_Get_X11_Font_Format( FT_Face face ); | 77 FT_Get_X11_Font_Format( FT_Face face ); |
78 | 78 |
79 /* */ | 79 /* */ |
| 80 |
80 | 81 |
81 FT_END_HEADER | 82 FT_END_HEADER |
82 | 83 |
83 #endif /* __FTXF86_H__ */ | 84 #endif /* __FTXF86_H__ */ |
OLD | NEW |