1
/***************************************************************************/
5
/* Support functions for X11. */
7
/* Copyright 2002, 2003, 2004, 2006, 2007 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
/***************************************************************************/
23
#include FT_FREETYPE_H
26
#error "freetype.h of FreeType 1 has been loaded!"
27
#error "Please fix the directory search order for header files"
28
#error "so that freetype.h of FreeType 2 is found first."
35
/*************************************************************************/
44
/* Getting the font format. */
47
/* The single function in this section can be used to get the font */
48
/* format. Note that this information is not needed normally; */
49
/* however, there are special cases (like in PDF devices) where it is */
50
/* important to differentiate, in spite of FreeType's uniform API. */
52
/* This function is in the X11/xf86 namespace for historical reasons */
53
/* and in no way depends on that windowing system. */
55
/*************************************************************************/
58
/*************************************************************************/
61
/* FT_Get_X11_Font_Format */
64
/* Return a string describing the format of a given face, using values */
65
/* which can be used as an X11 FONT_PROPERTY. Possible values are */
66
/* `TrueType', `Type~1', `BDF', `PCF', `Type~42', `CID~Type~1', `CFF', */
67
/* `PFR', and `Windows~FNT'. */
71
/* Input face handle. */
74
/* Font format string. NULL in case of error. */
76
FT_EXPORT( const char* )
77
FT_Get_X11_Font_Format( FT_Face face );
83
#endif /* __FTXF86_H__ */