This file is indexed.

/usr/share/doc/fonttools/html/t1Lib.html is in python-fonttools-doc 3.21.2-1.

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
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>t1Lib &#8212; fontTools 3.10 documentation</title>
    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '3.10',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="ttLib" href="ttLib/index.html" />
    <link rel="prev" title="subset" href="subset.html" /> 
  </head>
  <body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="ttLib/index.html" title="ttLib"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="subset.html" title="subset"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">fontTools 3.10 documentation</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="module-fontTools.t1Lib">
<span id="t1lib"></span><h1>t1Lib<a class="headerlink" href="#module-fontTools.t1Lib" title="Permalink to this headline"></a></h1>
<p>fontTools.t1Lib.py – Tools for PostScript Type 1 fonts (Python2 only)</p>
<p>Functions for reading and writing raw Type 1 data:</p>
<dl class="docutils">
<dt>read(path)</dt>
<dd>reads any Type 1 font file, returns the raw data and a type indicator:
‘LWFN’, ‘PFB’ or ‘OTHER’, depending on the format of the file pointed
to by ‘path’.
Raises an error when the file does not contain valid Type 1 data.</dd>
<dt>write(path, data, kind=’OTHER’, dohex=False)</dt>
<dd>writes raw Type 1 data to the file pointed to by ‘path’.
‘kind’ can be one of ‘LWFN’, ‘PFB’ or ‘OTHER’; it defaults to ‘OTHER’.
‘dohex’ is a flag which determines whether the eexec encrypted
part should be written as hexadecimal or binary, but only if kind
is ‘OTHER’.</dd>
</dl>
<dl class="exception">
<dt id="fontTools.t1Lib.T1Error">
<em class="property">exception </em><code class="descclassname">fontTools.t1Lib.</code><code class="descname">T1Error</code><a class="reference internal" href="_modules/fontTools/t1Lib.html#T1Error"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.T1Error" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="class">
<dt id="fontTools.t1Lib.T1Font">
<em class="property">class </em><code class="descclassname">fontTools.t1Lib.</code><code class="descname">T1Font</code><span class="sig-paren">(</span><em>path=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#T1Font"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.T1Font" title="Permalink to this definition"></a></dt>
<dd><p>Type 1 font class.</p>
<p>Uses a minimal interpeter that supports just about enough PS to parse
Type 1 fonts.</p>
<dl class="method">
<dt id="fontTools.t1Lib.T1Font.getData">
<code class="descname">getData</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#T1Font.getData"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.T1Font.getData" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="fontTools.t1Lib.T1Font.getGlyphSet">
<code class="descname">getGlyphSet</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#T1Font.getGlyphSet"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.T1Font.getGlyphSet" title="Permalink to this definition"></a></dt>
<dd><p>Return a generic GlyphSet, which is a dict-like object
mapping glyph names to glyph objects. The returned glyph objects
have a .draw() method that supports the Pen protocol, and will
have an attribute named ‘width’, but only <em>after</em> the .draw() method
has been called.</p>
<p>In the case of Type 1, the GlyphSet is simply the CharStrings dict.</p>
</dd></dl>

<dl class="method">
<dt id="fontTools.t1Lib.T1Font.parse">
<code class="descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#T1Font.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.T1Font.parse" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="fontTools.t1Lib.T1Font.saveAs">
<code class="descname">saveAs</code><span class="sig-paren">(</span><em>path</em>, <em>type</em>, <em>dohex=False</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#T1Font.saveAs"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.T1Font.saveAs" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.assertType1">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">assertType1</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#assertType1"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.assertType1" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.deHexString">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">deHexString</code><span class="sig-paren">(</span><em>hexstring</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#deHexString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.deHexString" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.decryptType1">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">decryptType1</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#decryptType1"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.decryptType1" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.findEncryptedChunks">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">findEncryptedChunks</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#findEncryptedChunks"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.findEncryptedChunks" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.isHex">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">isHex</code><span class="sig-paren">(</span><em>text</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#isHex"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.isHex" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.longToString">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">longToString</code><span class="sig-paren">(</span><em>long</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#longToString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.longToString" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.read">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">read</code><span class="sig-paren">(</span><em>path</em>, <em>onlyHeader=False</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#read"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.read" title="Permalink to this definition"></a></dt>
<dd><p>reads any Type 1 font file, returns raw data</p>
</dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.readLWFN">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">readLWFN</code><span class="sig-paren">(</span><em>path</em>, <em>onlyHeader=False</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#readLWFN"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.readLWFN" title="Permalink to this definition"></a></dt>
<dd><p>reads an LWFN font file, returns raw data</p>
</dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.readOther">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">readOther</code><span class="sig-paren">(</span><em>path</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#readOther"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.readOther" title="Permalink to this definition"></a></dt>
<dd><p>reads any (font) file, returns raw data</p>
</dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.readPFB">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">readPFB</code><span class="sig-paren">(</span><em>path</em>, <em>onlyHeader=False</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#readPFB"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.readPFB" title="Permalink to this definition"></a></dt>
<dd><p>reads a PFB font file, returns raw data</p>
</dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.stringToLong">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">stringToLong</code><span class="sig-paren">(</span><em>s</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#stringToLong"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.stringToLong" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.write">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">write</code><span class="sig-paren">(</span><em>path</em>, <em>data</em>, <em>kind='OTHER'</em>, <em>dohex=False</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#write"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.write" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.writeLWFN">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">writeLWFN</code><span class="sig-paren">(</span><em>path</em>, <em>data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#writeLWFN"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.writeLWFN" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.writeOther">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">writeOther</code><span class="sig-paren">(</span><em>path</em>, <em>data</em>, <em>dohex=False</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#writeOther"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.writeOther" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="fontTools.t1Lib.writePFB">
<code class="descclassname">fontTools.t1Lib.</code><code class="descname">writePFB</code><span class="sig-paren">(</span><em>path</em>, <em>data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/fontTools/t1Lib.html#writePFB"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#fontTools.t1Lib.writePFB" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h4>Previous topic</h4>
  <p class="topless"><a href="subset.html"
                        title="previous chapter">subset</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="ttLib/index.html"
                        title="next chapter">ttLib</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/t1Lib.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="ttLib/index.html" title="ttLib"
             >next</a> |</li>
        <li class="right" >
          <a href="subset.html" title="subset"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">fontTools 3.10 documentation</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2018, Just van Rossum, Behdad Esfahbod et al..
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.6.
    </div>
  </body>
</html>