nuclear@0: /***************************************************************************/ nuclear@0: /* */ nuclear@0: /* ftxf86.h */ nuclear@0: /* */ nuclear@0: /* Support functions for X11. */ nuclear@0: /* */ nuclear@0: /* Copyright 2002, 2003, 2004, 2006, 2007 by */ nuclear@0: /* David Turner, Robert Wilhelm, and Werner Lemberg. */ nuclear@0: /* */ nuclear@0: /* This file is part of the FreeType project, and may only be used, */ nuclear@0: /* modified, and distributed under the terms of the FreeType project */ nuclear@0: /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ nuclear@0: /* this file you indicate that you have read the license and */ nuclear@0: /* understand and accept it fully. */ nuclear@0: /* */ nuclear@0: /***************************************************************************/ nuclear@0: nuclear@0: nuclear@0: #ifndef __FTXF86_H__ nuclear@0: #define __FTXF86_H__ nuclear@0: nuclear@0: #include nuclear@0: #include FT_FREETYPE_H nuclear@0: nuclear@0: #ifdef FREETYPE_H nuclear@0: #error "freetype.h of FreeType 1 has been loaded!" nuclear@0: #error "Please fix the directory search order for header files" nuclear@0: #error "so that freetype.h of FreeType 2 is found first." nuclear@0: #endif nuclear@0: nuclear@0: nuclear@0: FT_BEGIN_HEADER nuclear@0: nuclear@0: nuclear@0: /*************************************************************************/ nuclear@0: /* */ nuclear@0: /*
*/ nuclear@0: /* font_formats */ nuclear@0: /* */ nuclear@0: /* */ nuclear@0: /* Font Formats */ nuclear@0: /* */ nuclear@0: /* <Abstract> */ nuclear@0: /* Getting the font format. */ nuclear@0: /* */ nuclear@0: /* <Description> */ nuclear@0: /* The single function in this section can be used to get the font */ nuclear@0: /* format. Note that this information is not needed normally; */ nuclear@0: /* however, there are special cases (like in PDF devices) where it is */ nuclear@0: /* important to differentiate, in spite of FreeType's uniform API. */ nuclear@0: /* */ nuclear@0: /* This function is in the X11/xf86 namespace for historical reasons */ nuclear@0: /* and in no way depends on that windowing system. */ nuclear@0: /* */ nuclear@0: /*************************************************************************/ nuclear@0: nuclear@0: nuclear@0: /*************************************************************************/ nuclear@0: /* */ nuclear@0: /* <Function> */ nuclear@0: /* FT_Get_X11_Font_Format */ nuclear@0: /* */ nuclear@0: /* <Description> */ nuclear@0: /* Return a string describing the format of a given face, using values */ nuclear@0: /* which can be used as an X11 FONT_PROPERTY. Possible values are */ nuclear@0: /* `TrueType', `Type~1', `BDF', `PCF', `Type~42', `CID~Type~1', `CFF', */ nuclear@0: /* `PFR', and `Windows~FNT'. */ nuclear@0: /* */ nuclear@0: /* <Input> */ nuclear@0: /* face :: */ nuclear@0: /* Input face handle. */ nuclear@0: /* */ nuclear@0: /* <Return> */ nuclear@0: /* Font format string. NULL in case of error. */ nuclear@0: /* */ nuclear@0: FT_EXPORT( const char* ) nuclear@0: FT_Get_X11_Font_Format( FT_Face face ); nuclear@0: nuclear@0: /* */ nuclear@0: nuclear@0: FT_END_HEADER nuclear@0: nuclear@0: #endif /* __FTXF86_H__ */