

<a name="fontgate.fgOTLayout"></a>

# `fgOTLayout`


<dt class="class"><h2><span class="class-name">fontgate.fgOTLayout</span> = <a name="fontgate.fgOTLayout" href="#fontgate.fgOTLayout">class fgOTLayout</a>(<a href="./__builtin__.html#object">object</a>)</h2></dt><dd class="class"><dd>


<pre class="doc" markdown="0">OpenType Layout representation

Constructors:
  fgOTLayout(fgDataOwnerData)
  fgOTLayout(fgFont)</pre>


</dd><h4 class="head-methods">Methods </h4><dl class="function"><dt><a name="fgOTLayout-__add__" href="#fgOTLayout-__add__"><span class="function-name">__add__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__add__">__add__</a>(y) <==> x+y</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__delattr__" href="#fgOTLayout-__delattr__"><span class="function-name">__delattr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__delattr__">__delattr__</a>('name') <==> del x.name</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__delitem__" href="#fgOTLayout-__delitem__"><span class="function-name">__delitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__delitem__">__delitem__</a>(y) <==> del x[y]</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__delslice__" href="#fgOTLayout-__delslice__"><span class="function-name">__delslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__delslice__">__delslice__</a>(i, j) <==> del x[i:j]

Use of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__getattribute__" href="#fgOTLayout-__getattribute__"><span class="function-name">__getattribute__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__getattribute__">__getattribute__</a>('name') <==> x.name</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__getitem__" href="#fgOTLayout-__getitem__"><span class="function-name">__getitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__getitem__">__getitem__</a>(y) <==> x[y]</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__getslice__" href="#fgOTLayout-__getslice__"><span class="function-name">__getslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__getslice__">__getslice__</a>(i, j) <==> x[i:j]

Use of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__init__" href="#fgOTLayout-__init__"><span class="function-name">__init__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__len__" href="#fgOTLayout-__len__"><span class="function-name">__len__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__len__">__len__</a>() <==> len(x)</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__mul__" href="#fgOTLayout-__mul__"><span class="function-name">__mul__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__mul__">__mul__</a>(n) <==> x*n</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__repr__" href="#fgOTLayout-__repr__"><span class="function-name">__repr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__repr__">__repr__</a>() <==> repr(x)</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__rmul__" href="#fgOTLayout-__rmul__"><span class="function-name">__rmul__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__rmul__">__rmul__</a>(n) <==> n*x</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__setattr__" href="#fgOTLayout-__setattr__"><span class="function-name">__setattr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__setattr__">__setattr__</a>('name', value) <==> x.name = value</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__setitem__" href="#fgOTLayout-__setitem__"><span class="function-name">__setitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-__setslice__" href="#fgOTLayout-__setslice__"><span class="function-name">__setslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgOTLayout-__setslice__">__setslice__</a>(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-clear" href="#fgOTLayout-clear"><span class="function-name">clear</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgOTLayout-clear">clear</a>() - remove all features</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-get_feature" href="#fgOTLayout-get_feature"><span class="function-name">get_feature</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">string <a href="#fontgate.fgOTLayout-get_feature">get_feature</a>(string / numeric tag) - get feature text</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-get_prefix" href="#fgOTLayout-get_prefix"><span class="function-name">get_prefix</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">string <a href="#fontgate.fgOTLayout-get_prefix">get_prefix</a>() - get common part of fea data</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-has_key" href="#fgOTLayout-has_key"><span class="function-name">has_key</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgOTLayout-has_key">has_key</a>(string / numeric tag) - True if feature is present</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-keys" href="#fgOTLayout-keys"><span class="function-name">keys</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">list(string) <a href="#fontgate.fgOTLayout-keys">keys</a>() - list of feature tags</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-remove" href="#fgOTLayout-remove"><span class="function-name">remove</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgOTLayout-remove">remove</a>(string / numeric tag) - remove feature</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-set_feature" href="#fgOTLayout-set_feature"><span class="function-name">set_feature</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgOTLayout-set_feature">set_feature</a>(string / numeric tag, string new_content) - set feature text</pre>

</dd></dl>
<dl class="function"><dt><a name="fgOTLayout-set_prefix" href="#fgOTLayout-set_prefix"><span class="function-name">set_prefix</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgOTLayout-set_prefix">set_prefix</a>(string new_prefix) - set common part of fea data</pre>

</dd></dl>

  <h4 class="head-attrs">Attributes </h4><dl><dt><span class="other-name">__new__</span> = &lt;built-in method __new__ of type object&gt;<dd>

<pre class="doc" markdown="0">T.<a href="#fontgate.fgOTLayout-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</pre>

</dd></dl>
</dd>


<a name="fontgate.fgOTLayout.clear"></a>

## `clear`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.clear" href="#-fontgate.fgOTLayout.clear"><span class="function-name">fontgate.fgOTLayout.clear</span></a> = clear<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">clear() - remove all features</pre>

</dd></dl>



<a name="fontgate.fgOTLayout.get_feature"></a>

## `get_feature`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.get_feature" href="#-fontgate.fgOTLayout.get_feature"><span class="function-name">fontgate.fgOTLayout.get_feature</span></a> = get_feature<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">string get_feature(string / numeric tag) - get feature text</pre>

</dd></dl>



<a name="fontgate.fgOTLayout.get_prefix"></a>

## `get_prefix`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.get_prefix" href="#-fontgate.fgOTLayout.get_prefix"><span class="function-name">fontgate.fgOTLayout.get_prefix</span></a> = get_prefix<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">string get_prefix() - get common part of fea data</pre>

</dd></dl>



<a name="fontgate.fgOTLayout.has_key"></a>

## `has_key`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.has_key" href="#-fontgate.fgOTLayout.has_key"><span class="function-name">fontgate.fgOTLayout.has_key</span></a> = has_key<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool has_key(string / numeric tag) - True if feature is present</pre>

</dd></dl>



<a name="fontgate.fgOTLayout.keys"></a>

## `keys`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.keys" href="#-fontgate.fgOTLayout.keys"><span class="function-name">fontgate.fgOTLayout.keys</span></a> = keys<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">list(string) keys() - list of feature tags</pre>

</dd></dl>



<a name="fontgate.fgOTLayout.remove"></a>

## `remove`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.remove" href="#-fontgate.fgOTLayout.remove"><span class="function-name">fontgate.fgOTLayout.remove</span></a> = remove<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">remove(string / numeric tag) - remove feature</pre>

</dd></dl>



<a name="fontgate.fgOTLayout.set_feature"></a>

## `set_feature`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.set_feature" href="#-fontgate.fgOTLayout.set_feature"><span class="function-name">fontgate.fgOTLayout.set_feature</span></a> = set_feature<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">set_feature(string / numeric tag, string new_content) - set feature text</pre>

</dd></dl>



<a name="fontgate.fgOTLayout.set_prefix"></a>

## `set_prefix`


<dl class="function"><dt><a name="-fontgate.fgOTLayout.set_prefix" href="#-fontgate.fgOTLayout.set_prefix"><span class="function-name">fontgate.fgOTLayout.set_prefix</span></a> = set_prefix<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">set_prefix(string new_prefix) - set common part of fea data</pre>

</dd></dl>

