1 /***************************************************************************/
5 /* FreeType utility file for X11 support (body). */
7 /* Copyright 2002, 2003, 2004 by */
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. */
16 /***************************************************************************/
19 #include "../../include/ft2build.h"
20 #include "../../include/freetype/ftxf86.h"
21 #include "../../include/freetype/internal/ftobjs.h"
22 #include "../../include/freetype/internal/services/svxf86nm.h"
25 /* documentation is in ftxf86.h */
27 FT_EXPORT_DEF( const char* )
28 FT_Get_X11_Font_Format( FT_Face face )
30 const char* result = NULL;
34 FT_FACE_FIND_SERVICE( face, result, XF86_NAME );