| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/python3-xlib/html/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Fontable (The Python X Library)</title>
<meta name="description" content="Fontable (The Python X Library)">
<meta name="keywords" content="Fontable (The Python X Library)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="index.html" rel="start" title="Top">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="X-Objects.html" rel="up" title="X Objects">
<link href="GC.html" rel="next" title="GC">
<link href="Pixmap.html" rel="prev" title="Pixmap">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<span id="Fontable"></span><div class="header">
<p>
Next: <a href="GC.html" accesskey="n" rel="next">GC</a>, Previous: <a href="Pixmap.html" accesskey="p" rel="prev">Pixmap</a>, Up: <a href="X-Objects.html" accesskey="u" rel="up">X Objects</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
<hr>
<span id="Fontable-1"></span><h3 class="section">6.8 Fontable</h3>
<p><code>Fontable</code> is a base class of <code>GC</code> and <code>Font</code>
objects. See <a href="GC.html">GC</a>, and <a href="Font.html">Font</a>.
</p>
<p>See <a href="Resource.html">Resource</a>, for additional methods.
</p>
<dl>
<dt id="index-query-on-Fontable">Method on Fontable: <strong>query</strong> <em>( )</em></dt>
<dd><p>Returns
Object(’min_bounds’, structs.CharInfo),
Object(’max_bounds’, structs.CharInfo),
Card16(’min_char_or_byte2’),
Card16(’max_char_or_byte2’),
Card16(’default_char’),
Card8(’draw_direction’),
Card8(’min_byte1,’),
Card8(’max_byte1,’),
Card8(’all_chars_exist’),
Int16(’font_ascent’),
Int16(’font_descent’),
List(’properties’, structs.FontProp),
List(’char_infos’, structs.CharInfo),
</p></dd></dl>
<dl>
<dt id="index-query_005ftext_005fextents-on-Fontable">Method on Fontable: <strong>query_text_extents</strong> <em>( string )</em></dt>
<dd><p>Returns
Card8(’draw_direction’),
Int16(’font_ascent’),
Int16(’font_descent’),
Int16(’overall_ascent’),
Int16(’overall_descent’),
Int32(’overall_width’),
Int32(’overall_left’),
Int32(’overall_right’),
</p></dd></dl>
</body>
</html>