fonttools/Documentation/robofabDocs/robofab.tools.otFeatures.html

1 line
39 KiB
HTML
Raw Normal View History

<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module robofab.tools.otFeatures</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="robofab.html"><font color="#ffffff">robofab</font></a>.<a href="robofab.tools.html"><font color="#ffffff">tools</font></a>.otFeatures</strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:vroom:users:tal:robofab:projects:robofab:lib:robofab:tools:otfeatures.py">vroom:users:tal:robofab:projects:robofab:lib:robofab:tools:otfeatures.py</a></font></td></tr></table> <p><tt>Simple&nbsp;module&nbsp;to&nbsp;write&nbsp;features&nbsp;to&nbsp;font</tt></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="string.html">string</a><br> </td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></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="robofab.tools.otFeatures.html#FeatureWriter">FeatureWriter</a> </font></dt><dt><font face="helvetica, arial"><a href="robofab.tools.otFeatures.html#GlyphName">GlyphName</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="FeatureWriter">class <strong>FeatureWriter</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> <td colspan=2><tt>Make&nbsp;properly&nbsp;formatted&nbsp;feature&nbsp;code<br>&nbsp;</tt></td></tr> <tr><td>&nbsp;</td> <td width="100%">Methods defined here:<br> <dl><dt><a name="FeatureWriter-__init__"><strong>__init__</strong></a>(self, type)</dt></dl> <dl><dt><a name="FeatureWriter-add"><strong>add</strong></a>(self, src, dst)</dt><dd><tt>Add&nbsp;a&nbsp;substitution:&nbsp;change&nbsp;src&nbsp;to&nbsp;dst.</tt></dd></dl> <dl><dt><a name="FeatureWriter-write"><strong>write</strong></a>(self, group<font color="#909090">=0</font>)</dt><dd><tt>Write&nbsp;the&nbsp;whole&nbsp;thing&nbsp;to&nbsp;string</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>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="GlyphName">class <strong>GlyphName</strong></a></font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> <td colspan=2><tt>Simple&nbsp;class&nbsp;that&nbsp;splits&nbsp;a&nbsp;glyphname&nbsp;in&nbsp;handy&nbsp;parts,<br> access&nbsp;the&nbsp;parts&nbsp;as&nbsp;attributes&nbsp;of&nbsp;the&nbsp;name.<br>&nbsp;</tt></td></tr> <tr><td>&nbsp;</td> <td width="100%">Methods defined here:<br> <dl><dt><a name="GlyphName-__init__"><strong>__init__</strong></a>(self, name)</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>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td