1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>FreeType-2.4.9 API Reference</title>
7 <style type="text/css">
8 body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
10 background: #FFFFFF; }
12 p { text-align: justify; }
13 h1 { text-align: center; }
14 li { text-align: justify; }
15 td { padding: 0 0.5em 0 0.5em; }
16 td.left { padding: 0 0.5em 0 0.5em;
19 a:link { color: #0000EF; }
20 a:visited { color: #51188E; }
21 a:hover { color: #FF0000; }
23 span.keyword { font-family: monospace;
28 pre.colored { color: blue; }
30 ul.empty { list-style-type: none; }
35 <table align=center><tr><td><font size=-1>[<a href="ft2-index.html">Index</a>]</font></td>
36 <td width="100%"></td>
37 <td><font size=-1>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
38 <center><h1>FreeType-2.4.9 API Reference</h1></center>
44 <table align=center cellspacing=5 cellpadding=0 border=0>
45 <tr><td></td><td><a href="#FT_Get_X11_Font_Format">FT_Get_X11_Font_Format</a></td><td></td><td></td><td></td><td></td></tr>
48 <table align=center width="87%"><tr><td>
49 <p>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.</p>
50 <p>This function is in the X11/xf86 namespace for historical reasons and in no way depends on that windowing system.</p>
51 </td></tr></table><br>
52 <table align=center width="75%"><tr><td>
53 <h4><a name="FT_Get_X11_Font_Format">FT_Get_X11_Font_Format</a></h4>
54 <table align=center width="87%"><tr><td>
55 Defined in FT_XFREE86_H (freetype/ftxf86.h).
56 </td></tr></table><br>
57 <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
59 FT_EXPORT( <span class="keyword">const</span> <span class="keyword">char</span>* )
60 <b>FT_Get_X11_Font_Format</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a> face );
63 <table align=center width="87%"><tr><td>
64 <p>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’.</p>
65 </td></tr></table><br>
66 <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
68 <table cellpadding=3 border=0>
69 <tr valign=top><td><b>face</b></td><td>
70 <p>Input face handle.</p>
74 <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
75 <p>Font format string. NULL in case of error.</p>
79 <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
80 <td width="100%"></td>
81 <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>