Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed




Rev Author Line No. Line
4349 Serge 1
2
"http://www.w3.org/TR/html4/loose.dtd">
3
4
5
6
FreeType-2.5.0 API Reference
7
32
33
34
 
35
[Index]
36
37
[TOC]
38

FreeType-2.5.0 API Reference

39
 
40

41
Font Formats
42
43

Synopsis

44
45
FT_Get_X11_Font_Format
46


47
 
48
49

The single function in this section can be used to get the font format. Note that this information is not needed normally; however, there are special cases (like in PDF devices) where it is important to differentiate, in spite of FreeType's uniform API.

50

This function is in the X11/xf86 namespace for historical reasons and in no way depends on that windowing system.

51

52
53

FT_Get_X11_Font_Format

54
55
Defined in FT_XFREE86_H (freetype/ftxf86.h).
56

57
58
 
59
  FT_EXPORT( const char* )
60
  FT_Get_X11_Font_Format( FT_Face  face );
61
 
62

63
64

Return a string describing the format of a given face, using values which can be used as an X11 FONT_PROPERTY. Possible values are ‘TrueType’, ‘Type 1’, ‘BDF’, ‘PCF’, ‘Type 42’, ‘CID Type 1’, ‘CFF’, ‘PFR’, and ‘Windows FNT’.

65

66
input
67

68
69
face
70

Input face handle.

71
72
73
74
return
75

Font format string. NULL in case of error.

76
77
78

79
[Index]
80
81
[TOC]
82
 
83
84