ftxf86.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /***************************************************************************/
  2. /* */
  3. /* ftxf86.h */
  4. /* */
  5. /* Support functions for X11. */
  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. /***************************************************************************/
  17. #ifndef __FTXF86_H__
  18. #define __FTXF86_H__
  19. #include <ft2build.h>
  20. #include FT_FREETYPE_H
  21. FT_BEGIN_HEADER
  22. /* this comment is intentionally disabled for now, to prevent this */
  23. /* function from appearing in the API Reference. */
  24. /*@***********************************************************************/
  25. /* */
  26. /* <Function> */
  27. /* FT_Get_X11_Font_Format */
  28. /* */
  29. /* <Description> */
  30. /* Return a string describing the format of a given face as an X11 */
  31. /* FONT_PROPERTY. It should only be used by the FreeType 2 font */
  32. /* backend of the XFree86 font server. */
  33. /* */
  34. /* <Input> */
  35. /* face :: Input face handle. */
  36. /* */
  37. /* <Return> */
  38. /* Font format string. NULL in case of error. */
  39. /* */
  40. FT_EXPORT_DEF( const char* )
  41. FT_Get_X11_Font_Format( FT_Face face );
  42. /* */
  43. FT_END_HEADER
  44. #endif /* __FTXF86_H__ */