1286 lines
80 KiB
HTML
1286 lines
80 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module fontTools.cffLib</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
<tr bgcolor="#7799ee">
|
|
<td valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="fontTools.html"><font color="#ffffff">fontTools</font></a>.cffLib</strong></big></big></font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/code/fontTools/Lib/fontTools/cffLib.py">/code/fontTools/Lib/fontTools/cffLib.py</a></font></td></tr></table>
|
|
<p><tt>cffLib.py -- read/write tools for Adobe CFF fonts.</tt></p>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#aa55cc">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
|
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="fontTools.misc.psCharStrings.html">fontTools.misc.psCharStrings</a><br>
|
|
</td><td width="25%" valign=top><a href="sstruct.html">sstruct</a><br>
|
|
</td><td width="25%" valign=top><a href="string.html">string</a><br>
|
|
</td><td width="25%" valign=top><a href="struct.html">struct</a><br>
|
|
</td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ee77aa">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#BaseDict">BaseDict</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FontDict">FontDict</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#PrivateDict">PrivateDict</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#TopDict">TopDict</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#CFFFontSet">CFFFontSet</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#CFFWriter">CFFWriter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#CharStrings">CharStrings</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#CharsetCompiler">CharsetCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#CharsetConverter">CharsetConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#DictCompiler">DictCompiler</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FontDictCompiler">FontDictCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#PrivateDictCompiler">PrivateDictCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#TopDictCompiler">TopDictCompiler</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a>(<a href="fontTools.misc.psCharStrings.html#ByteCodeBase">fontTools.misc.psCharStrings.ByteCodeBase</a>)
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#PrivateDictDecompiler">PrivateDictDecompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#TopDictDecompiler">TopDictDecompiler</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#EncodingCompiler">EncodingCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FDSelect">FDSelect</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FDSelectCompiler">FDSelectCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FDSelectConverter">FDSelectConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#Index">Index</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#GlobalSubrsIndex">GlobalSubrsIndex</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#SubrsIndex">SubrsIndex</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#TopDictIndex">TopDictIndex</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FDArrayIndex">FDArrayIndex</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FDArrayIndexCompiler">FDArrayIndexCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#GlobalSubrsCompiler">GlobalSubrsCompiler</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#CharStringsCompiler">CharStringsCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#SubrsCompiler">SubrsCompiler</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#IndexedStringsCompiler">IndexedStringsCompiler</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#TopDictIndexCompiler">TopDictIndexCompiler</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#IndexedStrings">IndexedStrings</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#ArrayConverter">ArrayConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#EncodingConverter">EncodingConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#Latin1Converter">Latin1Converter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#NumberConverter">NumberConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#ROSConverter">ROSConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#TableConverter">TableConverter</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#CharStringsConverter">CharStringsConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#FDArrayConverter">FDArrayConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#PrivateDictConverter">PrivateDictConverter</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.cffLib.html#SubrsConverter">SubrsConverter</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="ArrayConverter">class <strong>ArrayConverter</strong></a>(<a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="ArrayConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="ArrayConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>:<br>
|
|
<dl><dt><a name="ArrayConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="ArrayConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="BaseDict">class <strong>BaseDict</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="BaseDict-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="BaseDict-__init__"><strong>__init__</strong></a>(self, strings<font color="#909090">=None</font>, file<font color="#909090">=None</font>, offset<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="BaseDict-decompile"><strong>decompile</strong></a>(self, data)</dt></dl>
|
|
|
|
<dl><dt><a name="BaseDict-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="BaseDict-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="BaseDict-postDecompile"><strong>postDecompile</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="BaseDict-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="CFFFontSet">class <strong>CFFFontSet</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="CFFFontSet-__getitem__"><strong>__getitem__</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-compile"><strong>compile</strong></a>(self, file, otFont)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-decompile"><strong>decompile</strong></a>(self, file, otFont)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-keys"><strong>keys</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFFontSet-values"><strong>values</strong></a>(self)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="CFFWriter">class <strong>CFFWriter</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="CFFWriter-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFWriter-add"><strong>add</strong></a>(self, table)</dt></dl>
|
|
|
|
<dl><dt><a name="CFFWriter-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="CharStrings">class <strong>CharStrings</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="CharStrings-__getitem__"><strong>__getitem__</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-__init__"><strong>__init__</strong></a>(self, file, charset, globalSubrs, private, fdSelect, fdArray)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-__setitem__"><strong>__setitem__</strong></a>(self, name, charString)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-getItemAndSelector"><strong>getItemAndSelector</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-has_key"><strong>has_key</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-keys"><strong>keys</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStrings-values"><strong>values</strong></a>(self)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="CharStringsCompiler">class <strong>CharStringsCompiler</strong></a>(<a href="fontTools.cffLib.html#GlobalSubrsCompiler">GlobalSubrsCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#CharStringsCompiler">CharStringsCompiler</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#GlobalSubrsCompiler">GlobalSubrsCompiler</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="CharStringsCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#GlobalSubrsCompiler">GlobalSubrsCompiler</a>:<br>
|
|
<dl><dt><a name="CharStringsCompiler-getItems"><strong>getItems</strong></a>(self, items, strings)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>:<br>
|
|
<dl><dt><a name="CharStringsCompiler-__init__"><strong>__init__</strong></a>(self, items, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStringsCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStringsCompiler-getOffsets"><strong>getOffsets</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStringsCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="CharStringsConverter">class <strong>CharStringsConverter</strong></a>(<a href="fontTools.cffLib.html#TableConverter">TableConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#CharStringsConverter">CharStringsConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#TableConverter">TableConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="CharStringsConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStringsConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="CharStringsConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#TableConverter">TableConverter</a>:<br>
|
|
<dl><dt><a name="CharStringsConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="CharsetCompiler">class <strong>CharsetCompiler</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="CharsetCompiler-__init__"><strong>__init__</strong></a>(self, strings, charset, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="CharsetCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="CharsetCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<dl><dt><a name="CharsetCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="CharsetConverter">class <strong>CharsetConverter</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="CharsetConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="CharsetConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="CharsetConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="CharsetConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="DictCompiler">class <strong>DictCompiler</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="DictCompiler-__init__"><strong>__init__</strong></a>(self, dictObj, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-arg_SID"><strong>arg_SID</strong></a>(self, s)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-arg_array"><strong>arg_array</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-arg_delta"><strong>arg_delta</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-arg_number"><strong>arg_number</strong></a>(self, num)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-compile"><strong>compile</strong></a>(self, reason)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<dl><dt><a name="DictCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="EncodingCompiler">class <strong>EncodingCompiler</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="EncodingCompiler-__init__"><strong>__init__</strong></a>(self, strings, encoding, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="EncodingCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="EncodingCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<dl><dt><a name="EncodingCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="EncodingConverter">class <strong>EncodingConverter</strong></a>(<a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="EncodingConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="EncodingConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="EncodingConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="EncodingConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FDArrayConverter">class <strong>FDArrayConverter</strong></a>(<a href="fontTools.cffLib.html#TableConverter">TableConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#FDArrayConverter">FDArrayConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#TableConverter">TableConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="FDArrayConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#TableConverter">TableConverter</a>:<br>
|
|
<dl><dt><a name="FDArrayConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FDArrayIndex">class <strong>FDArrayIndex</strong></a>(<a href="fontTools.cffLib.html#TopDictIndex">TopDictIndex</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#FDArrayIndex">FDArrayIndex</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#TopDictIndex">TopDictIndex</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#Index">Index</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="FDArrayIndex-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.FDArrayIndexCompiler at 0x1542d50></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#TopDictIndex">TopDictIndex</a>:<br>
|
|
<dl><dt><a name="FDArrayIndex-produceItem"><strong>produceItem</strong></a>(self, index, data, file, offset, size)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndex-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#Index">Index</a>:<br>
|
|
<dl><dt><a name="FDArrayIndex-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndex-__init__"><strong>__init__</strong></a>(self, file<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndex-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndex-append"><strong>append</strong></a>(self, item)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndex-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FDArrayIndexCompiler">class <strong>FDArrayIndexCompiler</strong></a>(<a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="FDArrayIndexCompiler-getChildren"><strong>getChildren</strong></a>(self, strings)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndexCompiler-getItems"><strong>getItems</strong></a>(self, items, strings)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndexCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndexCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>:<br>
|
|
<dl><dt><a name="FDArrayIndexCompiler-__init__"><strong>__init__</strong></a>(self, items, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndexCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="FDArrayIndexCompiler-getOffsets"><strong>getOffsets</strong></a>(self)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FDSelect">class <strong>FDSelect</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="FDSelect-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelect-__init__"><strong>__init__</strong></a>(self, file<font color="#909090">=None</font>, numGlyphs<font color="#909090">=None</font>, format<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelect-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelect-__setitem__"><strong>__setitem__</strong></a>(self, index, fdSelectValue)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelect-append"><strong>append</strong></a>(self, fdSelectValue)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FDSelectCompiler">class <strong>FDSelectCompiler</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="FDSelectCompiler-__init__"><strong>__init__</strong></a>(self, fdSelect, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelectCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelectCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelectCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FDSelectConverter">class <strong>FDSelectConverter</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="FDSelectConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelectConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelectConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="FDSelectConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt><dd><tt># The <a href="#FDSelect">FDSelect</a> glyph data is written out to XML in the charstring keys,<br>
|
|
# so we write out only the format selector</tt></dd></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FontDict">class <strong>FontDict</strong></a>(<a href="fontTools.cffLib.html#BaseDict">BaseDict</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="FontDict-__init__"><strong>__init__</strong></a>(self, strings<font color="#909090">=None</font>, file<font color="#909090">=None</font>, offset<font color="#909090">=None</font>, GlobalSubrs<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDict-getGlyphOrder"><strong>getGlyphOrder</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDict-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.FontDictCompiler at 0x154bde0></dl>
|
|
|
|
<dl><dt><strong>converters</strong> = {'BaseFontBlend': <fontTools.cffLib.ArrayConverter instance at 0x1547ee0>, 'BaseFontName': <fontTools.cffLib.SimpleConverter instance at 0x1547eb8>, 'CIDCount': <fontTools.cffLib.NumberConverter instance at 0x1547f80>, 'CIDFontRevision': <fontTools.cffLib.NumberConverter instance at 0x1547f30>, 'CIDFontType': <fontTools.cffLib.NumberConverter instance at 0x1547f58>, 'CIDFontVersion': <fontTools.cffLib.NumberConverter instance at 0x1547f08>, 'CharStrings': <fontTools.cffLib.CharStringsConverter instance at 0x1547af8>, 'CharstringType': <fontTools.cffLib.NumberConverter instance at 0x1547da0>, 'Copyright': <fontTools.cffLib.Latin1Converter instance at 0x174a8a0>, 'Encoding': <fontTools.cffLib.EncodingConverter instance at 0x172cb70>, ...}</dl>
|
|
|
|
<dl><dt><strong>decompilerClass</strong> = None</dl>
|
|
|
|
<dl><dt><strong>defaults</strong> = {'CIDCount': 8720, 'CIDFontRevision': 0, 'CIDFontType': 0, 'CIDFontVersion': 0, 'CharstringType': 2, 'Encoding': 0, 'FontBBox': [0, 0, 0, 0], 'FontMatrix': [0.001, 0, 0, 0.001, 0, 0], 'ItalicAngle': 0, 'PaintType': 0, ...}</dl>
|
|
|
|
<dl><dt><strong>order</strong> = ['ROS', 'SyntheticBase', 'version', 'Notice', 'Copyright', 'FullName', 'FontName', 'FamilyName', 'Weight', 'isFixedPitch', 'ItalicAngle', 'UnderlinePosition', 'UnderlineThickness', 'PaintType', 'CharstringType', 'FontMatrix', 'UniqueID', 'FontBBox', 'StrokeWidth', 'XUID', ...]</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#BaseDict">BaseDict</a>:<br>
|
|
<dl><dt><a name="FontDict-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDict-decompile"><strong>decompile</strong></a>(self, data)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDict-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="FontDict-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDict-postDecompile"><strong>postDecompile</strong></a>(self)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="FontDictCompiler">class <strong>FontDictCompiler</strong></a>(<a href="fontTools.cffLib.html#DictCompiler">DictCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="FontDictCompiler-getChildren"><strong>getChildren</strong></a>(self, strings)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>opcodes</strong> = {'BaseFontBlend': ('<font color="#c040c0">\x0c\x17</font>', 'delta'), 'BaseFontName': ('<font color="#c040c0">\x0c\x16</font>', 'SID'), 'CIDCount': ('<font color="#c040c0">\x0c</font>"', 'number'), 'CIDFontRevision': ('<font color="#c040c0">\x0c</font> ', 'number'), 'CIDFontType': ('<font color="#c040c0">\x0c</font>!', 'number'), 'CIDFontVersion': ('<font color="#c040c0">\x0c\x1f</font>', 'number'), 'CharStrings': ('<font color="#c040c0">\x11</font>', 'number'), 'CharstringType': ('<font color="#c040c0">\x0c\x06</font>', 'number'), 'Copyright': ('<font color="#c040c0">\x0c\x00</font>', 'SID'), 'Encoding': ('<font color="#c040c0">\x10</font>', 'number'), ...}</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#DictCompiler">DictCompiler</a>:<br>
|
|
<dl><dt><a name="FontDictCompiler-__init__"><strong>__init__</strong></a>(self, dictObj, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-arg_SID"><strong>arg_SID</strong></a>(self, s)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-arg_array"><strong>arg_array</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-arg_delta"><strong>arg_delta</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-arg_number"><strong>arg_number</strong></a>(self, num)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-compile"><strong>compile</strong></a>(self, reason)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<dl><dt><a name="FontDictCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="GlobalSubrsCompiler">class <strong>GlobalSubrsCompiler</strong></a>(<a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="GlobalSubrsCompiler-getItems"><strong>getItems</strong></a>(self, items, strings)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>:<br>
|
|
<dl><dt><a name="GlobalSubrsCompiler-__init__"><strong>__init__</strong></a>(self, items, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsCompiler-getOffsets"><strong>getOffsets</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="GlobalSubrsIndex">class <strong>GlobalSubrsIndex</strong></a>(<a href="fontTools.cffLib.html#Index">Index</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="GlobalSubrsIndex-__init__"><strong>__init__</strong></a>(self, file<font color="#909090">=None</font>, globalSubrs<font color="#909090">=None</font>, private<font color="#909090">=None</font>, fdSelect<font color="#909090">=None</font>, fdArray<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsIndex-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsIndex-getItemAndSelector"><strong>getItemAndSelector</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsIndex-produceItem"><strong>produceItem</strong></a>(self, index, data, file, offset, size)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsIndex-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.GlobalSubrsCompiler at 0x1542d80></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#Index">Index</a>:<br>
|
|
<dl><dt><a name="GlobalSubrsIndex-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsIndex-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsIndex-append"><strong>append</strong></a>(self, item)</dt></dl>
|
|
|
|
<dl><dt><a name="GlobalSubrsIndex-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="Index">class <strong>Index</strong></a></font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>This class represents what the CFF spec calls an INDEX.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="Index-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="Index-__init__"><strong>__init__</strong></a>(self, file<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="Index-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="Index-append"><strong>append</strong></a>(self, item)</dt></dl>
|
|
|
|
<dl><dt><a name="Index-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="Index-produceItem"><strong>produceItem</strong></a>(self, index, data, file, offset, size)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.IndexCompiler at 0x1542cc0></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="IndexCompiler">class <strong>IndexCompiler</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="IndexCompiler-__init__"><strong>__init__</strong></a>(self, items, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexCompiler-getItems"><strong>getItems</strong></a>(self, items, strings)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexCompiler-getOffsets"><strong>getOffsets</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="IndexedStrings">class <strong>IndexedStrings</strong></a></font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>SID -> string mapping.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="IndexedStrings-__getitem__"><strong>__getitem__</strong></a>(self, SID)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStrings-__init__"><strong>__init__</strong></a>(self, file<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStrings-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStrings-buildStringMapping"><strong>buildStringMapping</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStrings-getCompiler"><strong>getCompiler</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStrings-getSID"><strong>getSID</strong></a>(self, s)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStrings-getStrings"><strong>getStrings</strong></a>(self)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="IndexedStringsCompiler">class <strong>IndexedStringsCompiler</strong></a>(<a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="IndexedStringsCompiler-getItems"><strong>getItems</strong></a>(self, items, strings)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>:<br>
|
|
<dl><dt><a name="IndexedStringsCompiler-__init__"><strong>__init__</strong></a>(self, items, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStringsCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStringsCompiler-getOffsets"><strong>getOffsets</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="IndexedStringsCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="Latin1Converter">class <strong>Latin1Converter</strong></a>(<a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="Latin1Converter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>:<br>
|
|
<dl><dt><a name="Latin1Converter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="Latin1Converter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="Latin1Converter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="NumberConverter">class <strong>NumberConverter</strong></a>(<a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="NumberConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>:<br>
|
|
<dl><dt><a name="NumberConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="NumberConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="NumberConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="PrivateDict">class <strong>PrivateDict</strong></a>(<a href="fontTools.cffLib.html#BaseDict">BaseDict</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.PrivateDictCompiler at 0x154be10></dl>
|
|
|
|
<dl><dt><strong>converters</strong> = {'BlueFuzz': <fontTools.cffLib.NumberConverter instance at 0x1547c38>, 'BlueScale': <fontTools.cffLib.NumberConverter instance at 0x1547be8>, 'BlueShift': <fontTools.cffLib.NumberConverter instance at 0x1547c10>, 'BlueValues': <fontTools.cffLib.ArrayConverter instance at 0x1547b48>, 'ExpansionFactor': <fontTools.cffLib.NumberConverter instance at 0x15478a0>, 'FamilyBlues': <fontTools.cffLib.ArrayConverter instance at 0x1547b98>, 'FamilyOtherBlues': <fontTools.cffLib.ArrayConverter instance at 0x1547bc0>, 'ForceBold': <fontTools.cffLib.NumberConverter instance at 0x1547d00>, 'ForceBoldThreshold': <fontTools.cffLib.NumberConverter instance at 0x1547800>, 'LanguageGroup': <fontTools.cffLib.NumberConverter instance at 0x1547850>, ...}</dl>
|
|
|
|
<dl><dt><strong>decompilerClass</strong> = <class fontTools.cffLib.PrivateDictDecompiler at 0x154bd50></dl>
|
|
|
|
<dl><dt><strong>defaults</strong> = {'BlueFuzz': 1, 'BlueScale': 0.039625, 'BlueShift': 7, 'ExpansionFactor': 0.059999999999999998, 'ForceBold': 0, 'LanguageGroup': 0, 'defaultWidthX': 0, 'initialRandomSeed': 0, 'nominalWidthX': 0}</dl>
|
|
|
|
<dl><dt><strong>order</strong> = ['BlueValues', 'OtherBlues', 'FamilyBlues', 'FamilyOtherBlues', 'BlueScale', 'BlueShift', 'BlueFuzz', 'StdHW', 'StdVW', 'StemSnapH', 'StemSnapV', 'ForceBold', 'ForceBoldThreshold', 'lenIV', 'LanguageGroup', 'ExpansionFactor', 'initialRandomSeed', 'defaultWidthX', 'nominalWidthX', 'Subrs']</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#BaseDict">BaseDict</a>:<br>
|
|
<dl><dt><a name="PrivateDict-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDict-__init__"><strong>__init__</strong></a>(self, strings<font color="#909090">=None</font>, file<font color="#909090">=None</font>, offset<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDict-decompile"><strong>decompile</strong></a>(self, data)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDict-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDict-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDict-postDecompile"><strong>postDecompile</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDict-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="PrivateDictCompiler">class <strong>PrivateDictCompiler</strong></a>(<a href="fontTools.cffLib.html#DictCompiler">DictCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="PrivateDictCompiler-getChildren"><strong>getChildren</strong></a>(self, strings)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>opcodes</strong> = {'BlueFuzz': ('<font color="#c040c0">\x0c\x0b</font>', 'number'), 'BlueScale': ('<font color="#c040c0">\x0c\t</font>', 'number'), 'BlueShift': ('<font color="#c040c0">\x0c\n</font>', 'number'), 'BlueValues': ('<font color="#c040c0">\x06</font>', 'delta'), 'ExpansionFactor': ('<font color="#c040c0">\x0c\x12</font>', 'number'), 'FamilyBlues': ('<font color="#c040c0">\x08</font>', 'delta'), 'FamilyOtherBlues': ('<font color="#c040c0">\t</font>', 'delta'), 'ForceBold': ('<font color="#c040c0">\x0c\x0e</font>', 'number'), 'ForceBoldThreshold': ('<font color="#c040c0">\x0c\x0f</font>', 'number'), 'LanguageGroup': ('<font color="#c040c0">\x0c\x11</font>', 'number'), ...}</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#DictCompiler">DictCompiler</a>:<br>
|
|
<dl><dt><a name="PrivateDictCompiler-__init__"><strong>__init__</strong></a>(self, dictObj, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-arg_SID"><strong>arg_SID</strong></a>(self, s)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-arg_array"><strong>arg_array</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-arg_delta"><strong>arg_delta</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-arg_number"><strong>arg_number</strong></a>(self, num)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-compile"><strong>compile</strong></a>(self, reason)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="PrivateDictConverter">class <strong>PrivateDictConverter</strong></a>(<a href="fontTools.cffLib.html#TableConverter">TableConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#PrivateDictConverter">PrivateDictConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#TableConverter">TableConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="PrivateDictConverter-getClass"><strong>getClass</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#TableConverter">TableConverter</a>:<br>
|
|
<dl><dt><a name="PrivateDictConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="PrivateDictDecompiler">class <strong>PrivateDictDecompiler</strong></a>(<a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#PrivateDictDecompiler">PrivateDictDecompiler</a></dd>
|
|
<dd><a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a></dd>
|
|
<dd><a href="fontTools.misc.psCharStrings.html#ByteCodeBase">fontTools.misc.psCharStrings.ByteCodeBase</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>operators</strong> = {6: ('BlueValues', 'delta'), 7: ('OtherBlues', 'delta'), 8: ('FamilyBlues', 'delta'), 9: ('FamilyOtherBlues', 'delta'), 10: ('StdHW', 'number'), 11: ('StdVW', 'number'), 19: ('Subrs', 'number'), 20: ('defaultWidthX', 'number'), 21: ('nominalWidthX', 'number'), (12, 9): ('BlueScale', 'number'), ...}</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a>:<br>
|
|
<dl><dt><a name="PrivateDictDecompiler-__init__"><strong>__init__</strong></a>(self, strings)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-arg_SID"><strong>arg_SID</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-arg_array"><strong>arg_array</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-arg_delta"><strong>arg_delta</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-arg_number"><strong>arg_number</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-decompile"><strong>decompile</strong></a>(self, data)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-do_operator"><strong>do_operator</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-getDict"><strong>getDict</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-handle_operator"><strong>handle_operator</strong></a>(self, operator, argType)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-pop"><strong>pop</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-popall"><strong>popall</strong></a>(self)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a>:<br>
|
|
<dl><dt><strong>operandEncoding</strong> = ['do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', ...]</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.misc.psCharStrings.html#ByteCodeBase">fontTools.misc.psCharStrings.ByteCodeBase</a>:<br>
|
|
<dl><dt><a name="PrivateDictDecompiler-read_byte"><strong>read_byte</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-read_fixed1616"><strong>read_fixed1616</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-read_longInt"><strong>read_longInt</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-read_realNumber"><strong>read_realNumber</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-read_shortInt"><strong>read_shortInt</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-read_smallInt1"><strong>read_smallInt1</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="PrivateDictDecompiler-read_smallInt2"><strong>read_smallInt2</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="ROSConverter">class <strong>ROSConverter</strong></a>(<a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="ROSConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="ROSConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>:<br>
|
|
<dl><dt><a name="ROSConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="ROSConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="SimpleConverter">class <strong>SimpleConverter</strong></a></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="SimpleConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="SimpleConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="SimpleConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="SimpleConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="SubrsCompiler">class <strong>SubrsCompiler</strong></a>(<a href="fontTools.cffLib.html#GlobalSubrsCompiler">GlobalSubrsCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#SubrsCompiler">SubrsCompiler</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#GlobalSubrsCompiler">GlobalSubrsCompiler</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="SubrsCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#GlobalSubrsCompiler">GlobalSubrsCompiler</a>:<br>
|
|
<dl><dt><a name="SubrsCompiler-getItems"><strong>getItems</strong></a>(self, items, strings)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>:<br>
|
|
<dl><dt><a name="SubrsCompiler-__init__"><strong>__init__</strong></a>(self, items, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsCompiler-getOffsets"><strong>getOffsets</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="SubrsConverter">class <strong>SubrsConverter</strong></a>(<a href="fontTools.cffLib.html#TableConverter">TableConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#SubrsConverter">SubrsConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#TableConverter">TableConverter</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Methods defined here:<br>
|
|
<dl><dt><a name="SubrsConverter-getClass"><strong>getClass</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#TableConverter">TableConverter</a>:<br>
|
|
<dl><dt><a name="SubrsConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="SubrsIndex">class <strong>SubrsIndex</strong></a>(<a href="fontTools.cffLib.html#GlobalSubrsIndex">GlobalSubrsIndex</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#SubrsIndex">SubrsIndex</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#GlobalSubrsIndex">GlobalSubrsIndex</a></dd>
|
|
<dd><a href="fontTools.cffLib.html#Index">Index</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.SubrsCompiler at 0x1542db0></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#GlobalSubrsIndex">GlobalSubrsIndex</a>:<br>
|
|
<dl><dt><a name="SubrsIndex-__init__"><strong>__init__</strong></a>(self, file<font color="#909090">=None</font>, globalSubrs<font color="#909090">=None</font>, private<font color="#909090">=None</font>, fdSelect<font color="#909090">=None</font>, fdArray<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsIndex-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsIndex-getItemAndSelector"><strong>getItemAndSelector</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsIndex-produceItem"><strong>produceItem</strong></a>(self, index, data, file, offset, size)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsIndex-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#Index">Index</a>:<br>
|
|
<dl><dt><a name="SubrsIndex-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsIndex-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsIndex-append"><strong>append</strong></a>(self, item)</dt></dl>
|
|
|
|
<dl><dt><a name="SubrsIndex-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="TableConverter">class <strong>TableConverter</strong></a>(<a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="TableConverter-xmlRead"><strong>xmlRead</strong></a>(self, (name, attrs, content), parent)</dt></dl>
|
|
|
|
<dl><dt><a name="TableConverter-xmlWrite"><strong>xmlWrite</strong></a>(self, xmlWriter, name, value, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#SimpleConverter">SimpleConverter</a>:<br>
|
|
<dl><dt><a name="TableConverter-read"><strong>read</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
<dl><dt><a name="TableConverter-write"><strong>write</strong></a>(self, parent, value)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="TopDict">class <strong>TopDict</strong></a>(<a href="fontTools.cffLib.html#BaseDict">BaseDict</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="TopDict-__init__"><strong>__init__</strong></a>(self, strings<font color="#909090">=None</font>, file<font color="#909090">=None</font>, offset<font color="#909090">=None</font>, GlobalSubrs<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDict-decompileAllCharStrings"><strong>decompileAllCharStrings</strong></a>(self, progress)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDict-getGlyphOrder"><strong>getGlyphOrder</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDict-postDecompile"><strong>postDecompile</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDict-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.TopDictCompiler at 0x154bdb0></dl>
|
|
|
|
<dl><dt><strong>converters</strong> = {'BaseFontBlend': <fontTools.cffLib.ArrayConverter instance at 0x1547ee0>, 'BaseFontName': <fontTools.cffLib.SimpleConverter instance at 0x1547eb8>, 'CIDCount': <fontTools.cffLib.NumberConverter instance at 0x1547f80>, 'CIDFontRevision': <fontTools.cffLib.NumberConverter instance at 0x1547f30>, 'CIDFontType': <fontTools.cffLib.NumberConverter instance at 0x1547f58>, 'CIDFontVersion': <fontTools.cffLib.NumberConverter instance at 0x1547f08>, 'CharStrings': <fontTools.cffLib.CharStringsConverter instance at 0x1547af8>, 'CharstringType': <fontTools.cffLib.NumberConverter instance at 0x1547da0>, 'Copyright': <fontTools.cffLib.Latin1Converter instance at 0x174a8a0>, 'Encoding': <fontTools.cffLib.EncodingConverter instance at 0x172cb70>, ...}</dl>
|
|
|
|
<dl><dt><strong>decompilerClass</strong> = <class fontTools.cffLib.TopDictDecompiler at 0x154bd20></dl>
|
|
|
|
<dl><dt><strong>defaults</strong> = {'CIDCount': 8720, 'CIDFontRevision': 0, 'CIDFontType': 0, 'CIDFontVersion': 0, 'CharstringType': 2, 'Encoding': 0, 'FontBBox': [0, 0, 0, 0], 'FontMatrix': [0.001, 0, 0, 0.001, 0, 0], 'ItalicAngle': 0, 'PaintType': 0, ...}</dl>
|
|
|
|
<dl><dt><strong>order</strong> = ['ROS', 'SyntheticBase', 'version', 'Notice', 'Copyright', 'FullName', 'FontName', 'FamilyName', 'Weight', 'isFixedPitch', 'ItalicAngle', 'UnderlinePosition', 'UnderlineThickness', 'PaintType', 'CharstringType', 'FontMatrix', 'UniqueID', 'FontBBox', 'StrokeWidth', 'XUID', ...]</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#BaseDict">BaseDict</a>:<br>
|
|
<dl><dt><a name="TopDict-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDict-decompile"><strong>decompile</strong></a>(self, data)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDict-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content))</dt></dl>
|
|
|
|
<dl><dt><a name="TopDict-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="TopDictCompiler">class <strong>TopDictCompiler</strong></a>(<a href="fontTools.cffLib.html#DictCompiler">DictCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="TopDictCompiler-getChildren"><strong>getChildren</strong></a>(self, strings)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>opcodes</strong> = {'BaseFontBlend': ('<font color="#c040c0">\x0c\x17</font>', 'delta'), 'BaseFontName': ('<font color="#c040c0">\x0c\x16</font>', 'SID'), 'CIDCount': ('<font color="#c040c0">\x0c</font>"', 'number'), 'CIDFontRevision': ('<font color="#c040c0">\x0c</font> ', 'number'), 'CIDFontType': ('<font color="#c040c0">\x0c</font>!', 'number'), 'CIDFontVersion': ('<font color="#c040c0">\x0c\x1f</font>', 'number'), 'CharStrings': ('<font color="#c040c0">\x11</font>', 'number'), 'CharstringType': ('<font color="#c040c0">\x0c\x06</font>', 'number'), 'Copyright': ('<font color="#c040c0">\x0c\x00</font>', 'SID'), 'Encoding': ('<font color="#c040c0">\x10</font>', 'number'), ...}</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#DictCompiler">DictCompiler</a>:<br>
|
|
<dl><dt><a name="TopDictCompiler-__init__"><strong>__init__</strong></a>(self, dictObj, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-arg_SID"><strong>arg_SID</strong></a>(self, s)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-arg_array"><strong>arg_array</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-arg_delta"><strong>arg_delta</strong></a>(self, value)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-arg_number"><strong>arg_number</strong></a>(self, num)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-compile"><strong>compile</strong></a>(self, reason)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-setPos"><strong>setPos</strong></a>(self, pos, endPos)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="TopDictDecompiler">class <strong>TopDictDecompiler</strong></a>(<a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
<dd><a href="fontTools.cffLib.html#TopDictDecompiler">TopDictDecompiler</a></dd>
|
|
<dd><a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a></dd>
|
|
<dd><a href="fontTools.misc.psCharStrings.html#ByteCodeBase">fontTools.misc.psCharStrings.ByteCodeBase</a></dd>
|
|
</dl>
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>operators</strong> = {0: ('version', 'SID'), 1: ('Notice', 'SID'), 2: ('FullName', 'SID'), 3: ('FamilyName', 'SID'), 4: ('Weight', 'SID'), 5: ('FontBBox', 'array'), 13: ('UniqueID', 'number'), 14: ('XUID', 'array'), 15: ('charset', 'number'), 16: ('Encoding', 'number'), ...}</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a>:<br>
|
|
<dl><dt><a name="TopDictDecompiler-__init__"><strong>__init__</strong></a>(self, strings)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-arg_SID"><strong>arg_SID</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-arg_array"><strong>arg_array</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-arg_delta"><strong>arg_delta</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-arg_number"><strong>arg_number</strong></a>(self, name)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-decompile"><strong>decompile</strong></a>(self, data)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-do_operator"><strong>do_operator</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-getDict"><strong>getDict</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-handle_operator"><strong>handle_operator</strong></a>(self, operator, argType)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-pop"><strong>pop</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-popall"><strong>popall</strong></a>(self)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes inherited from <a href="fontTools.misc.psCharStrings.html#DictDecompiler">fontTools.misc.psCharStrings.DictDecompiler</a>:<br>
|
|
<dl><dt><strong>operandEncoding</strong> = ['do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', 'do_operator', ...]</dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.misc.psCharStrings.html#ByteCodeBase">fontTools.misc.psCharStrings.ByteCodeBase</a>:<br>
|
|
<dl><dt><a name="TopDictDecompiler-read_byte"><strong>read_byte</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-read_fixed1616"><strong>read_fixed1616</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-read_longInt"><strong>read_longInt</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-read_realNumber"><strong>read_realNumber</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-read_shortInt"><strong>read_shortInt</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-read_smallInt1"><strong>read_smallInt1</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictDecompiler-read_smallInt2"><strong>read_smallInt2</strong></a>(self, b0, data, index)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="TopDictIndex">class <strong>TopDictIndex</strong></a>(<a href="fontTools.cffLib.html#Index">Index</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="TopDictIndex-produceItem"><strong>produceItem</strong></a>(self, index, data, file, offset, size)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndex-toXML"><strong>toXML</strong></a>(self, xmlWriter, progress)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>compilerClass</strong> = <class fontTools.cffLib.TopDictIndexCompiler at 0x1542d20></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#Index">Index</a>:<br>
|
|
<dl><dt><a name="TopDictIndex-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndex-__init__"><strong>__init__</strong></a>(self, file<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndex-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndex-append"><strong>append</strong></a>(self, item)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndex-getCompiler"><strong>getCompiler</strong></a>(self, strings, parent)</dt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="TopDictIndexCompiler">class <strong>TopDictIndexCompiler</strong></a>(<a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="TopDictIndexCompiler-getChildren"><strong>getChildren</strong></a>(self, strings)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndexCompiler-getItems"><strong>getItems</strong></a>(self, items, strings)</dt></dl>
|
|
|
|
<hr>
|
|
Methods inherited from <a href="fontTools.cffLib.html#IndexCompiler">IndexCompiler</a>:<br>
|
|
<dl><dt><a name="TopDictIndexCompiler-__init__"><strong>__init__</strong></a>(self, items, strings, parent)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndexCompiler-getDataLength"><strong>getDataLength</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndexCompiler-getOffsets"><strong>getOffsets</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="TopDictIndexCompiler-toFile"><strong>toFile</strong></a>(self, file)</dt></dl>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#eeaa77">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt><a name="-addConverters"><strong>addConverters</strong></a>(table)</dt></dl>
|
|
<dl><dt><a name="-buildConverters"><strong>buildConverters</strong></a>(table)</dt></dl>
|
|
<dl><dt><a name="-buildDefaults"><strong>buildDefaults</strong></a>(table)</dt></dl>
|
|
<dl><dt><a name="-buildOpcodeDict"><strong>buildOpcodeDict</strong></a>(table)</dt></dl>
|
|
<dl><dt><a name="-buildOperatorDict"><strong>buildOperatorDict</strong></a>(table)</dt></dl>
|
|
<dl><dt><a name="-buildOrder"><strong>buildOrder</strong></a>(table)</dt></dl>
|
|
<dl><dt><a name="-calcOffSize"><strong>calcOffSize</strong></a>(largestOffset)</dt></dl>
|
|
<dl><dt><a name="-encodeNumber"><strong>encodeNumber</strong></a>(num)</dt></dl>
|
|
<dl><dt><a name="-getCIDfromName"><strong>getCIDfromName</strong></a>(name, strings)</dt></dl>
|
|
<dl><dt><a name="-getSIDfromName"><strong>getSIDfromName</strong></a>(name, strings)</dt></dl>
|
|
<dl><dt><a name="-packCard16"><strong>packCard16</strong></a>(value)</dt></dl>
|
|
<dl><dt><a name="-packCard8"><strong>packCard8</strong></a>(value)</dt></dl>
|
|
<dl><dt><a name="-packCharset"><strong>packCharset</strong></a>(charset, isCID, strings)</dt></dl>
|
|
<dl><dt><a name="-packCharset0"><strong>packCharset0</strong></a>(charset, isCID, strings)</dt></dl>
|
|
<dl><dt><a name="-packEncoding0"><strong>packEncoding0</strong></a>(charset, encoding, strings)</dt></dl>
|
|
<dl><dt><a name="-packEncoding1"><strong>packEncoding1</strong></a>(charset, encoding, strings)</dt></dl>
|
|
<dl><dt><a name="-packFDSelect0"><strong>packFDSelect0</strong></a>(fdSelectArray)</dt></dl>
|
|
<dl><dt><a name="-packFDSelect3"><strong>packFDSelect3</strong></a>(fdSelectArray)</dt></dl>
|
|
<dl><dt><a name="-parseCharset"><strong>parseCharset</strong></a>(numGlyphs, file, strings, isCID, format)</dt></dl>
|
|
<dl><dt><a name="-parseCharset0"><strong>parseCharset0</strong></a>(numGlyphs, file, strings)</dt></dl>
|
|
<dl><dt><a name="-parseEncoding0"><strong>parseEncoding0</strong></a>(charset, file, haveSupplement, strings)</dt></dl>
|
|
<dl><dt><a name="-parseEncoding1"><strong>parseEncoding1</strong></a>(charset, file, haveSupplement, strings)</dt></dl>
|
|
<dl><dt><a name="-parseNum"><strong>parseNum</strong></a>(s)</dt></dl>
|
|
<dl><dt><a name="-readCard16"><strong>readCard16</strong></a>(file)</dt></dl>
|
|
<dl><dt><a name="-readCard8"><strong>readCard8</strong></a>(file)</dt></dl>
|
|
<dl><dt><a name="-writeCard16"><strong>writeCard16</strong></a>(file, value)</dt></dl>
|
|
<dl><dt><a name="-writeCard8"><strong>writeCard8</strong></a>(file, value)</dt></dl>
|
|
</td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#55aa55">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
|
<td width="100%"><strong>DEBUG</strong> = 0<br>
|
|
<strong>cffHeaderFormat</strong> = '<font color="#c040c0">\n\t</font>major: B<font color="#c040c0">\n\t</font>minor: B<font color="#c040c0">\n\t</font>hdrSize: B<font color="#c040c0">\n\t</font>offSize: B<font color="#c040c0">\n</font>'<br>
|
|
<strong>cffStandardStringCount</strong> = 391<br>
|
|
<strong>cffStandardStringMapping</strong> = {'.notdef': 0, '001.000': 379, '001.001': 380, '001.002': 381, '001.003': 382, 'A': 34, 'AE': 138, 'AEsmall': 353, 'Aacute': 171, 'Aacutesmall': 348, ...}<br>
|
|
<strong>cffStandardStrings</strong> = ['.notdef', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent', 'ampersand', 'quoteright', 'parenleft', 'parenright', 'asterisk', 'plus', 'comma', 'hyphen', 'period', 'slash', 'zero', 'one', 'two', ...]<br>
|
|
<strong>privateDictOperators</strong> = [(6, 'BlueValues', 'delta', None, <fontTools.cffLib.ArrayConverter instance at 0x1547b48>), (7, 'OtherBlues', 'delta', None, <fontTools.cffLib.ArrayConverter instance at 0x1547b70>), (8, 'FamilyBlues', 'delta', None, <fontTools.cffLib.ArrayConverter instance at 0x1547b98>), (9, 'FamilyOtherBlues', 'delta', None, <fontTools.cffLib.ArrayConverter instance at 0x1547bc0>), ((12, 9), 'BlueScale', 'number', 0.039625, <fontTools.cffLib.NumberConverter instance at 0x1547be8>), ((12, 10), 'BlueShift', 'number', 7, <fontTools.cffLib.NumberConverter instance at 0x1547c10>), ((12, 11), 'BlueFuzz', 'number', 1, <fontTools.cffLib.NumberConverter instance at 0x1547c38>), (10, 'StdHW', 'number', None, <fontTools.cffLib.NumberConverter instance at 0x1547c60>), (11, 'StdVW', 'number', None, <fontTools.cffLib.NumberConverter instance at 0x1547c88>), ((12, 12), 'StemSnapH', 'delta', None, <fontTools.cffLib.ArrayConverter instance at 0x1547cb0>), ((12, 13), 'StemSnapV', 'delta', None, <fontTools.cffLib.ArrayConverter instance at 0x1547cd8>), ((12, 14), 'ForceBold', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547d00>), ((12, 15), 'ForceBoldThreshold', 'number', None, <fontTools.cffLib.NumberConverter instance at 0x1547800>), ((12, 16), 'lenIV', 'number', None, <fontTools.cffLib.NumberConverter instance at 0x1547828>), ((12, 17), 'LanguageGroup', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547850>), ((12, 18), 'ExpansionFactor', 'number', 0.059999999999999998, <fontTools.cffLib.NumberConverter instance at 0x15478a0>), ((12, 19), 'initialRandomSeed', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x15478f0>), (20, 'defaultWidthX', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547918>), (21, 'nominalWidthX', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547940>), (19, 'Subrs', 'number', None, <fontTools.cffLib.SubrsConverter instance at 0x1547b20>)]<br>
|
|
<strong>topDictOperators</strong> = [((12, 30), 'ROS', ('SID', 'SID', 'number'), None, <fontTools.cffLib.ROSConverter instance at 0x174ae40>), ((12, 20), 'SyntheticBase', 'number', None, <fontTools.cffLib.NumberConverter instance at 0x1547968>), (0, 'version', 'SID', None, <fontTools.cffLib.SimpleConverter instance at 0x1547990>), (1, 'Notice', 'SID', None, <fontTools.cffLib.Latin1Converter instance at 0x174ada0>), ((12, 0), 'Copyright', 'SID', None, <fontTools.cffLib.Latin1Converter instance at 0x174a8a0>), (2, 'FullName', 'SID', None, <fontTools.cffLib.SimpleConverter instance at 0x15479b8>), ((12, 38), 'FontName', 'SID', None, <fontTools.cffLib.SimpleConverter instance at 0x15479e0>), (3, 'FamilyName', 'SID', None, <fontTools.cffLib.SimpleConverter instance at 0x1547a08>), (4, 'Weight', 'SID', None, <fontTools.cffLib.SimpleConverter instance at 0x1547a30>), ((12, 1), 'isFixedPitch', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547a80>), ((12, 2), 'ItalicAngle', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547aa8>), ((12, 3), 'UnderlinePosition', 'number', None, <fontTools.cffLib.NumberConverter instance at 0x1547d28>), ((12, 4), 'UnderlineThickness', 'number', 50, <fontTools.cffLib.NumberConverter instance at 0x1547d50>), ((12, 5), 'PaintType', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547d78>), ((12, 6), 'CharstringType', 'number', 2, <fontTools.cffLib.NumberConverter instance at 0x1547da0>), ((12, 7), 'FontMatrix', 'array', [0.001, 0, 0, 0.001, 0, 0], <fontTools.cffLib.ArrayConverter instance at 0x1547dc8>), (13, 'UniqueID', 'number', None, <fontTools.cffLib.NumberConverter instance at 0x1547df0>), (5, 'FontBBox', 'array', [0, 0, 0, 0], <fontTools.cffLib.ArrayConverter instance at 0x1547e18>), ((12, 8), 'StrokeWidth', 'number', 0, <fontTools.cffLib.NumberConverter instance at 0x1547e40>), (14, 'XUID', 'array', None, <fontTools.cffLib.ArrayConverter instance at 0x1547e68>), ...]</td></tr></table>
|
|
</body></html> |