[692] | 1 | /***************************************************************************/
|
---|
| 2 | /* */
|
---|
| 3 | /* ftxf86.h */
|
---|
| 4 | /* */
|
---|
| 5 | /* Support functions for X11. */
|
---|
| 6 | /* */
|
---|
| 7 | /* Copyright 2002, 2003, 2004 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 | /***************************************************************************/
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | #ifndef __FTXF86_H__
|
---|
| 20 | #define __FTXF86_H__
|
---|
| 21 |
|
---|
| 22 | #include <ft2build.h>
|
---|
| 23 | #include FT_FREETYPE_H
|
---|
| 24 |
|
---|
| 25 | #ifdef FREETYPE_H
|
---|
| 26 | #error "freetype.h of FreeType 1 has been loaded!"
|
---|
| 27 | #error "Please fix the directory search order for header files"
|
---|
| 28 | #error "so that freetype.h of FreeType 2 is found first."
|
---|
| 29 | #endif
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | FT_BEGIN_HEADER
|
---|
| 33 |
|
---|
| 34 | /* this comment is intentionally disabled for now, to prevent this */
|
---|
| 35 | /* function from appearing in the API Reference. */
|
---|
| 36 |
|
---|
| 37 | /*@***********************************************************************/
|
---|
| 38 | /* */
|
---|
| 39 | /* <Function> */
|
---|
| 40 | /* FT_Get_X11_Font_Format */
|
---|
| 41 | /* */
|
---|
| 42 | /* <Description> */
|
---|
| 43 | /* Return a string describing the format of a given face as an X11 */
|
---|
| 44 | /* FONT_PROPERTY. It should only be used by the FreeType 2 font */
|
---|
| 45 | /* backend of the XFree86 font server. */
|
---|
| 46 | /* */
|
---|
| 47 | /* <Input> */
|
---|
| 48 | /* face :: Input face handle. */
|
---|
| 49 | /* */
|
---|
| 50 | /* <Return> */
|
---|
| 51 | /* Font format string. NULL in case of error. */
|
---|
| 52 | /* */
|
---|
| 53 | FT_EXPORT( const char* )
|
---|
| 54 | FT_Get_X11_Font_Format( FT_Face face );
|
---|
| 55 |
|
---|
| 56 | /* */
|
---|
| 57 |
|
---|
| 58 | FT_END_HEADER
|
---|
| 59 |
|
---|
| 60 | #endif /* __FTXF86_H__ */
|
---|