00001 /***************************************************************************/ 00002 /* */ 00003 /* ftxf86.c */ 00004 /* */ 00005 /* FreeType utility file for X11 support (body). */ 00006 /* */ 00007 /* Copyright 2002, 2003, 2004 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #include <ft2build.h> 00020 #include FT_XFREE86_H 00021 #include FT_INTERNAL_OBJECTS_H 00022 #include FT_SERVICE_XFREE86_NAME_H 00023 00024 00025 /* documentation is in ftxf86.h */ 00026 00027 FT_EXPORT_DEF( const char* ) 00028 FT_Get_X11_Font_Format( FT_Face face ) 00029 { 00030 const char* result = NULL; 00031 00032 00033 if ( face ) 00034 FT_FACE_FIND_SERVICE( face, result, XF86_NAME ); 00035 00036 return result; 00037 } 00038 00039 00040 /* END */