This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-pangofontface.html is in python-gtk2-doc 2.24.0-4ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pango.FontFace</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="pango-class-reference.html" title="The pango Class Reference"><link rel="prev" href="class-pangofontdescription.html" title="pango.FontDescription"><link rel="next" href="class-pangofontfamily.html" title="pango.FontFamily"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">pango.FontFace</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangofontdescription.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pangofontfamily.html">Next</a></td></tr></table><hr></div><div class="refentry" title="pango.FontFace"><a name="class-pangofontface"></a><div class="titlepage"></div><div class="refnamediv"><h2>pango.FontFace</h2><p>pango.FontFace — an object representing a group of fonts varying only in
size.</p></div><div class="refsect1" title="Synopsis"><a name="id3324644"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">pango.FontFace</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontface.html#method-pangofontface--describe" title="pango.FontFace.describe">describe</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontface.html#method-pangofontface--get-face-name" title="pango.FontFace.get_face_name">get_face_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontface.html#method-pangofontface--list-sizes" title="pango.FontFace.list_sizes">list_sizes</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="id3245285"></a><h2>Description</h2><p>A <a class="link" href="class-pangofontface.html" title="pango.FontFace"><code class="classname">pango.FontFace</code></a>
object represents a group of fonts with the same family, weight, slant,
stretch and width but varying sizes. A list of font faces can be retrieved
from a <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily"><code class="classname">pango.FontFamily</code></a> 
object using the <a class="link" href="class-pangofontfamily.html#method-pangofontfamily--list-faces" title="pango.FontFamily.list_faces"><code class="methodname">pango.FontFamily.list_faces</code>()</a> 
method.</p></div><div class="refsect1" title="Ancestry"><a name="id3170662"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-pangofontface.html" title="pango.FontFace">pango.FontFace</a>
</pre></div><div class="refsect1" title="Methods"><a name="id3184716"></a><h2>Methods</h2><div class="refsect2" title="pango.FontFace.describe"><a name="method-pangofontface--describe"></a><h3>pango.FontFace.describe</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">describe</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-pangofontdescription.html" title="pango.FontDescription"><code class="classname">pango.FontDescription</code></a> 
object containing the description of the face.</td></tr></tbody></table><p>The <code class="methodname">describe</code>() method returns a <a class="link" href="class-pangofontdescription.html" title="pango.FontDescription"><code class="classname">pango.FontDescription</code></a> 
object containing the family, style, variant, weight and stretch of the
<a class="link" href="class-pangofontface.html" title="pango.FontFace"><code class="classname">pango.FontFace</code></a>.
The size attribute field will be unset.</p></div><div class="refsect2" title="pango.FontFace.get_face_name"><a name="method-pangofontface--get-face-name"></a><h3>pango.FontFace.get_face_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_face_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the face name for the
face.</td></tr></tbody></table><p>The <code class="methodname">get_face_name</code>() method returns a
string representing this font face. This name is unique among all faces in the
family and is suitable for displaying to users.</p></div><div class="refsect2" title="pango.FontFace.list_sizes"><a name="method-pangofontface--list-sizes"></a><h3>pango.FontFace.list_sizes</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">list_sizes</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a tuple containing a list of face sizes in
	  pango units or <code class="literal">None</code></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">list_sizes</code>() method returns a tuple
containing the available sizes for a bitmap font. If the font face is a
scalable font this method returns <code class="literal">None</code>.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-pangofontdescription.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pango-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-pangofontfamily.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">pango.FontDescription </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> pango.FontFamily</td></tr></table></div></body></html>