vrshoot

annotate libs/ft2static/freetype/ftxf86.h @ 1:e7ca128b8713

looks nice :)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 00:35:22 +0200
parents
children
rev   line source
nuclear@0 1 /***************************************************************************/
nuclear@0 2 /* */
nuclear@0 3 /* ftxf86.h */
nuclear@0 4 /* */
nuclear@0 5 /* Support functions for X11. */
nuclear@0 6 /* */
nuclear@0 7 /* Copyright 2002, 2003, 2004, 2006, 2007 by */
nuclear@0 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
nuclear@0 9 /* */
nuclear@0 10 /* This file is part of the FreeType project, and may only be used, */
nuclear@0 11 /* modified, and distributed under the terms of the FreeType project */
nuclear@0 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
nuclear@0 13 /* this file you indicate that you have read the license and */
nuclear@0 14 /* understand and accept it fully. */
nuclear@0 15 /* */
nuclear@0 16 /***************************************************************************/
nuclear@0 17
nuclear@0 18
nuclear@0 19 #ifndef __FTXF86_H__
nuclear@0 20 #define __FTXF86_H__
nuclear@0 21
nuclear@0 22 #include <ft2build.h>
nuclear@0 23 #include FT_FREETYPE_H
nuclear@0 24
nuclear@0 25 #ifdef FREETYPE_H
nuclear@0 26 #error "freetype.h of FreeType 1 has been loaded!"
nuclear@0 27 #error "Please fix the directory search order for header files"
nuclear@0 28 #error "so that freetype.h of FreeType 2 is found first."
nuclear@0 29 #endif
nuclear@0 30
nuclear@0 31
nuclear@0 32 FT_BEGIN_HEADER
nuclear@0 33
nuclear@0 34
nuclear@0 35 /*************************************************************************/
nuclear@0 36 /* */
nuclear@0 37 /* <Section> */
nuclear@0 38 /* font_formats */
nuclear@0 39 /* */
nuclear@0 40 /* <Title> */
nuclear@0 41 /* Font Formats */
nuclear@0 42 /* */
nuclear@0 43 /* <Abstract> */
nuclear@0 44 /* Getting the font format. */
nuclear@0 45 /* */
nuclear@0 46 /* <Description> */
nuclear@0 47 /* The single function in this section can be used to get the font */
nuclear@0 48 /* format. Note that this information is not needed normally; */
nuclear@0 49 /* however, there are special cases (like in PDF devices) where it is */
nuclear@0 50 /* important to differentiate, in spite of FreeType's uniform API. */
nuclear@0 51 /* */
nuclear@0 52 /* This function is in the X11/xf86 namespace for historical reasons */
nuclear@0 53 /* and in no way depends on that windowing system. */
nuclear@0 54 /* */
nuclear@0 55 /*************************************************************************/
nuclear@0 56
nuclear@0 57
nuclear@0 58 /*************************************************************************/
nuclear@0 59 /* */
nuclear@0 60 /* <Function> */
nuclear@0 61 /* FT_Get_X11_Font_Format */
nuclear@0 62 /* */
nuclear@0 63 /* <Description> */
nuclear@0 64 /* Return a string describing the format of a given face, using values */
nuclear@0 65 /* which can be used as an X11 FONT_PROPERTY. Possible values are */
nuclear@0 66 /* `TrueType', `Type~1', `BDF', `PCF', `Type~42', `CID~Type~1', `CFF', */
nuclear@0 67 /* `PFR', and `Windows~FNT'. */
nuclear@0 68 /* */
nuclear@0 69 /* <Input> */
nuclear@0 70 /* face :: */
nuclear@0 71 /* Input face handle. */
nuclear@0 72 /* */
nuclear@0 73 /* <Return> */
nuclear@0 74 /* Font format string. NULL in case of error. */
nuclear@0 75 /* */
nuclear@0 76 FT_EXPORT( const char* )
nuclear@0 77 FT_Get_X11_Font_Format( FT_Face face );
nuclear@0 78
nuclear@0 79 /* */
nuclear@0 80
nuclear@0 81 FT_END_HEADER
nuclear@0 82
nuclear@0 83 #endif /* __FTXF86_H__ */