fonttools/Documentation/fontToolsDocs/fontTools.ttLib.tables._c_m_a_p.html
Erik van Blokland 3646055ea2 initial import
git-svn-id: http://svn.robofab.com/trunk@1 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-01-07 17:40:34 +00:00

257 lines
15 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module fontTools.ttLib.tables._c_m_a_p</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="fontTools.html"><font color="#ffffff">fontTools</font></a>.<a href="fontTools.ttLib.html"><font color="#ffffff">ttLib</font></a>.<a href="fontTools.ttLib.tables.html"><font color="#ffffff">tables</font></a>._c_m_a_p</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/ttLib/tables/_c_m_a_p.py">/code/fontTools/Lib/fontTools/ttLib/tables/_c_m_a_p.py</a></font></td></tr></table>
<p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="fontTools.ttLib.tables.DefaultTable.html">fontTools.ttLib.tables.DefaultTable</a><br>
</td><td width="25%" valign=top><a href="array.html">array</a><br>
</td><td width="25%" valign=top><a href="struct.html">struct</a><br>
</td><td width="25%" valign=top><a href="fontTools.ttLib.html">fontTools.ttLib</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>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#cmap_format_0">cmap_format_0</a>
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#cmap_format_12">cmap_format_12</a>
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#cmap_format_2">cmap_format_2</a>
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#cmap_format_4">cmap_format_4</a>
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#cmap_format_6">cmap_format_6</a>
</font></dt><dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#cmap_format_unknown">cmap_format_unknown</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables.DefaultTable.html#DefaultTable">fontTools.ttLib.tables.DefaultTable.DefaultTable</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#table__c_m_a_p">table__c_m_a_p</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="fontTools.ttLib.tables._c_m_a_p.html#SubHeader">SubHeader</a>
</font></dt></dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CmapSubtable">class <strong>CmapSubtable</strong></a></font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="CmapSubtable-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="CmapSubtable-__init__"><strong>__init__</strong></a>(self, format)</dt></dl>
<dl><dt><a name="CmapSubtable-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
<dl><dt><a name="CmapSubtable-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="SubHeader">class <strong>SubHeader</strong></a></font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="SubHeader-__init__"><strong>__init__</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="cmap_format_0">class <strong>cmap_format_0</strong></a>(<a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="cmap_format_0-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_0-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_0-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
<hr>
Methods inherited from <a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>:<br>
<dl><dt><a name="cmap_format_0-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="cmap_format_0-__init__"><strong>__init__</strong></a>(self, format)</dt></dl>
<dl><dt><a name="cmap_format_0-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="cmap_format_12">class <strong>cmap_format_12</strong></a>(<a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="cmap_format_12-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_12-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_12-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
<dl><dt><a name="cmap_format_12-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</dt></dl>
<hr>
Methods inherited from <a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>:<br>
<dl><dt><a name="cmap_format_12-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="cmap_format_12-__init__"><strong>__init__</strong></a>(self, format)</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="cmap_format_2">class <strong>cmap_format_2</strong></a>(<a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="cmap_format_2-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_2-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_2-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
<hr>
Methods inherited from <a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>:<br>
<dl><dt><a name="cmap_format_2-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="cmap_format_2-__init__"><strong>__init__</strong></a>(self, format)</dt></dl>
<dl><dt><a name="cmap_format_2-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="cmap_format_4">class <strong>cmap_format_4</strong></a>(<a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="cmap_format_4-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_4-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_4-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
<hr>
Methods inherited from <a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>:<br>
<dl><dt><a name="cmap_format_4-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="cmap_format_4-__init__"><strong>__init__</strong></a>(self, format)</dt></dl>
<dl><dt><a name="cmap_format_4-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="cmap_format_6">class <strong>cmap_format_6</strong></a>(<a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="cmap_format_6-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_6-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_6-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
<hr>
Methods inherited from <a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>:<br>
<dl><dt><a name="cmap_format_6-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="cmap_format_6-__init__"><strong>__init__</strong></a>(self, format)</dt></dl>
<dl><dt><a name="cmap_format_6-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="cmap_format_unknown">class <strong>cmap_format_unknown</strong></a>(<a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="cmap_format_unknown-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_unknown-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
<dl><dt><a name="cmap_format_unknown-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</dt></dl>
<hr>
Methods inherited from <a href="fontTools.ttLib.tables._c_m_a_p.html#CmapSubtable">CmapSubtable</a>:<br>
<dl><dt><a name="cmap_format_unknown-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="cmap_format_unknown-__init__"><strong>__init__</strong></a>(self, format)</dt></dl>
<dl><dt><a name="cmap_format_unknown-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</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>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="table__c_m_a_p">class <strong>table__c_m_a_p</strong></a>(<a href="fontTools.ttLib.tables.DefaultTable.html#DefaultTable">fontTools.ttLib.tables.DefaultTable.DefaultTable</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="table__c_m_a_p-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
<dl><dt><a name="table__c_m_a_p-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
<dl><dt><a name="table__c_m_a_p-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
<dl><dt><a name="table__c_m_a_p-getcmap"><strong>getcmap</strong></a>(self, platformID, platEncID)</dt></dl>
<dl><dt><a name="table__c_m_a_p-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</dt></dl>
<hr>
Methods inherited from <a href="fontTools.ttLib.tables.DefaultTable.html#DefaultTable">fontTools.ttLib.tables.DefaultTable.DefaultTable</a>:<br>
<dl><dt><a name="table__c_m_a_p-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="table__c_m_a_p-__init__"><strong>__init__</strong></a>(self, tag)</dt></dl>
<dl><dt><a name="table__c_m_a_p-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="fontTools.ttLib.tables.DefaultTable.html#DefaultTable">fontTools.ttLib.tables.DefaultTable.DefaultTable</a>:<br>
<dl><dt><strong>dependencies</strong> = []</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>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-splitRange"><strong>splitRange</strong></a>(startCode, endCode, cmap)</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>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>cmap_classes</strong> = {0: &lt;class fontTools.ttLib.tables._c_m_a_p.cmap_format_0 at 0x1708270&gt;, 2: &lt;class fontTools.ttLib.tables._c_m_a_p.cmap_format_2 at 0x17082d0&gt;, 4: &lt;class fontTools.ttLib.tables._c_m_a_p.cmap_format_4 at 0x1708300&gt;, 6: &lt;class fontTools.ttLib.tables._c_m_a_p.cmap_format_6 at 0x1708330&gt;, 12: &lt;class fontTools.ttLib.tables._c_m_a_p.cmap_format_12 at 0x1708360&gt;}<br>
<strong>cmap_format_4_format</strong> = '&gt;7H'<br>
<strong>subHeaderFormat</strong> = '&gt;HHhH'</td></tr></table>
</body></html>