This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-pangofontfamily.html is in python-gtk2-doc 2.24.0-5.1ubuntu2.

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
21
22
23
24
25
26
27
28
29
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pango.FontFamily</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-pangofontface.html" title="pango.FontFace"><link rel="next" href="class-pangofontmap.html" title="pango.FontMap"></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.FontFamily</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangofontface.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pangofontmap.html">Next</a></td></tr></table><hr></div><div class="refentry" title="pango.FontFamily"><a name="class-pangofontfamily"></a><div class="titlepage"></div><div class="refnamediv"><h2>pango.FontFamily</h2><p>pango.FontFamily — an object representing a family of related font
faces.</p></div><div class="refsect1" title="Synopsis"><a name="id2991596"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">pango.FontFamily</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-pangofontfamily.html#method-pangofontfamily--list-faces" title="pango.FontFamily.list_faces">list_faces</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--get-name" title="pango.FontFamily.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--is-monospace" title="pango.FontFamily.is_monospace">is_monospace</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id2985518"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily">pango.FontFamily</a>
</pre></div><div class="refsect1" title="Description"><a name="id3132717"></a><h2>Description</h2><p>The <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily"><code class="classname">pango.FontFamily</code></a> 
object is used to represent a family of related font faces. The faces in a
family share a common design, but differ in slant, weight, width and other
aspects. A list of <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily"><code class="classname">pango.FontFamily</code></a> 
objects can be retrieved  from a <a class="link" href="class-pangocontext.html" title="pango.Context"><code class="classname">pango.Context</code></a>
object using the <a class="link" href="class-pangocontext.html#method-pangocontext--list-families" title="pango.Context.list_families"><code class="methodname">pango.Context.list_families</code>()</a> 
method and from a <a class="link" href="class-pangofontmap.html" title="pango.FontMap"><code class="classname">pango.FontMap</code></a>
object using the <a class="link" href="class-pangofontmap.html#method-pangofontmap--list-families" title="pango.FontMap.list_families"><code class="methodname">pango.FontMap.list_families</code>()</a> 
method.</p></div><div class="refsect1" title="Methods"><a name="id2905524"></a><h2>Methods</h2><div class="refsect2" title="pango.FontFamily.list_faces"><a name="method-pangofontfamily--list-faces"></a><h3>pango.FontFamily.list_faces</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">list_faces</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 list of <a class="link" href="class-pangofontface.html" title="pango.FontFace"><code class="classname">pango.FontFace</code></a>
objects.</td></tr></tbody></table><p>The <code class="methodname">list_faces</code>() method returns a list
of the different <a class="link" href="class-pangofontface.html" title="pango.FontFace"><code class="classname">pango.FontFace</code></a>
object that make up the font family&gt;. The faces in a family share a common
design, but differ in slant, weight, width and other aspects.</p></div><div class="refsect2" title="pango.FontFamily.get_name"><a name="method-pangofontfamily--get-name"></a><h3>pango.FontFamily.get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_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 name of the family.</td></tr></tbody></table><p>The <code class="methodname">get_name</code>() method returns a string
containing the name of the font family. The name is unique among all fonts
for the font backend and can be used in a <a class="link" href="class-pangofontdescription.html" title="pango.FontDescription"><code class="classname">pango.FontDescription</code></a> 
to specify that a face from this family is desired.</p></div><div class="refsect2" title="pango.FontFamily.is_monospace"><a name="method-pangofontfamily--is-monospace"></a><h3>pango.FontFamily.is_monospace</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">is_monospace</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><code class="literal">True</code> if the font family is
	  monospace.</td></tr></tbody></table><p>The <code class="methodname">is_monospace</code>() method returns
      <code class="literal">True</code> if the font family describes a monospace
      font. A monospace font is a font designed for text display where the
      the characters form a regular grid. For Western languages this would
      mean that the advance width of all characters are the same, but this
      categorization also includes Asian fonts which include double-width
      characters: characters that occupy two grid cells. The best way to
      find out the grid-cell size is to call the <a class="link" href="class-pangofontmetrics.html#method-pangofontmetrics--get-approximate-digit-width" title="pango.FontMetrics.get_approximate_digit_width"><code class="methodname">get_approximate_digit_width</code>()</a>
      method, since the results of the <a class="link" href="class-pangofontmetrics.html#method-pangofontmetrics--get-approximate-char-width" title="pango.FontMetrics.get_approximate_char_width"><code class="methodname">get_approximate_char_width</code>()</a></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-pangofontface.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-pangofontmap.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">pango.FontFace </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> pango.FontMap</td></tr></table></div></body></html>