92 lines
5.6 KiB
HTML
92 lines
5.6 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module fontTools.ttLib.tables._h_e_a_d</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>.<a href="fontTools.ttLib.html"><font color="#ffffff">ttLib</font></a>.<a href="fontTools.ttLib.tables.html"><font color="#ffffff">tables</font></a>._h_e_a_d</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/_h_e_a_d.py">/code/fontTools/Lib/fontTools/ttLib/tables/_h_e_a_d.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> <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.ttLib.tables.DefaultTable.html">fontTools.ttLib.tables.DefaultTable</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="time.html">time</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.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._h_e_a_d.html#table__h_e_a_d">table__h_e_a_d</a>
|
|
</font></dt></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="table__h_e_a_d">class <strong>table__h_e_a_d</strong></a>(<a href="fontTools.ttLib.tables.DefaultTable.html#DefaultTable">fontTools.ttLib.tables.DefaultTable.DefaultTable</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="table__h_e_a_d-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="table__h_e_a_d-compile"><strong>compile</strong></a>(self, ttFont)</dt></dl>
|
|
|
|
<dl><dt><a name="table__h_e_a_d-dates2strings"><strong>dates2strings</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="table__h_e_a_d-decompile"><strong>decompile</strong></a>(self, data, ttFont)</dt></dl>
|
|
|
|
<dl><dt><a name="table__h_e_a_d-fromXML"><strong>fromXML</strong></a>(self, (name, attrs, content), ttFont)</dt></dl>
|
|
|
|
<dl><dt><a name="table__h_e_a_d-strings2dates"><strong>strings2dates</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="table__h_e_a_d-toXML"><strong>toXML</strong></a>(self, writer, ttFont)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>dependencies</strong> = ['maxp', 'loca']</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__h_e_a_d-__init__"><strong>__init__</strong></a>(self, tag)</dt></dl>
|
|
|
|
<dl><dt><a name="table__h_e_a_d-__repr__"><strong>__repr__</strong></a>(self)</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="-bin2long"><strong>bin2long</strong></a>(data)</dt></dl>
|
|
<dl><dt><a name="-calc_mac_epoch_diff"><strong>calc_mac_epoch_diff</strong></a>()</dt><dd><tt>calculate the difference between the original Mac epoch (1904)<br>
|
|
to the epoch on this machine.</tt></dd></dl>
|
|
<dl><dt><a name="-long2bin"><strong>long2bin</strong></a>(v, bytes<font color="#909090">=8</font>)</dt></dl>
|
|
<dl><dt><a name="-parse_date"><strong>parse_date</strong></a>(datestring)</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>headFormat</strong> = '<font color="#c040c0">\n\t\t</font>><font color="#c040c0">\t</font># big endian<font color="#c040c0">\n\t\t</font>tableVersion: 16.16F<font color="#c040c0">\n\t</font>...<font color="#c040c0">\n\t\t</font>indexToLocFormat: h<font color="#c040c0">\n\t\t</font>glyphDataFormat: h<font color="#c040c0">\n</font>'<br>
|
|
<strong>mac_epoch_diff</strong> = -2082844800L</td></tr></table>
|
|
</body></html> |