Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 199168df3fabe584b2d6b1a05ca44868 > files > 11

ocaml-otfm-devel-0.1.0-2.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="Up" href="Otfm.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Otfm" rel="Chapter" href="Otfm.html"><link title="Tags" rel="Section" href="#1_Tags">
<link title="Table tags" rel="Section" href="#1_Tabletags">
<link title="Functions" rel="Section" href="#1_Functions">
<link title="Required tables" rel="Subsection" href="#req">
<link title="TTF font tables" rel="Subsection" href="#2_TTFfonttables">
<link title="CFF font tables" rel="Subsection" href="#2_CFFfonttables">
<link title="Bitmap glyph tables" rel="Subsection" href="#2_Bitmapglyphtables">
<link title="Optional tables" rel="Subsection" href="#2_Optionaltables">
<link title="Advanced typographic tables" rel="Subsection" href="#2_Advancedtypographictables">
<title>Otfm.Tag</title>
</head>
<body>
<div class="navbar">&nbsp;<a class="up" href="Otfm.html" title="Otfm">Up</a>
&nbsp;</div>
<h1>Module <a href="type_Otfm.Tag.html">Otfm.Tag</a></h1>
<pre><span class="keyword">module</span> Tag: <code class="code"><span class="keyword">sig</span></code> <a href="Otfm.Tag.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
Tags.
<p>

    OpenType tags are four bytes identifiers.<br>
</div>
<hr width="100%">
<br>
<h1 id="1_Tags">Tags</h1><br>
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code> </pre>
<div class="info">
The type for OpenType tags.<br>
</div>

<br>
<h1 id="1_Tabletags">Table tags</h1><br>
<br>
<h2 id="req">Required tables</h2><br>
<pre><span id="VALcmap"><span class="keyword">val</span> cmap</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/cmap.htm">cmap</a> table.<br>
</div>
<pre><span id="VALhead"><span class="keyword">val</span> head</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/head.htm">head</a> table.<br>
</div>
<pre><span id="VALhhea"><span class="keyword">val</span> hhea</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/hhea.htm">hhea</a> table.<br>
</div>
<pre><span id="VALhmtx"><span class="keyword">val</span> hmtx</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/hmtx.htm">hmtx</a> table.<br>
</div>
<pre><span id="VALmaxp"><span class="keyword">val</span> maxp</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/maxp.htm">maxp</a> table.<br>
</div>
<pre><span id="VALname"><span class="keyword">val</span> name</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/name.htm">name</a> table.<br>
</div>
<pre><span id="VALos2"><span class="keyword">val</span> os2</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/os2.htm">os2</a> table.<br>
</div>
<pre><span id="VALpost"><span class="keyword">val</span> post</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/post.htm">post</a> table.<br>
</div>
<br>
<h2 id="2_TTFfonttables">TTF font tables</h2><br>
<pre><span id="VALcvt"><span class="keyword">val</span> cvt</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/cvt.htm">cvt</a> table.<br>
</div>
<pre><span id="VALfpgm"><span class="keyword">val</span> fpgm</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/fpgm.htm">fpgm</a> table.<br>
</div>
<pre><span id="VALglyf"><span class="keyword">val</span> glyf</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/glyf.htm">glyf</a> table.<br>
</div>
<pre><span id="VALloca"><span class="keyword">val</span> loca</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/loca.htm">loca</a> table.<br>
</div>
<pre><span id="VALprep"><span class="keyword">val</span> prep</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/prep.htm">prep</a> table.<br>
</div>
<br>
<h2 id="2_CFFfonttables">CFF font tables</h2><br>
<pre><span id="VALcff"><span class="keyword">val</span> cff</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/cff.htm">CFF</a> table.<br>
</div>
<pre><span id="VALvorg"><span class="keyword">val</span> vorg</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/vorg.htm">VORG</a> table.<br>
</div>
<br>
<h2 id="2_Bitmapglyphtables">Bitmap glyph tables</h2><br>
<pre><span id="VALebdt"><span class="keyword">val</span> ebdt</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/ebdt.htm">EBDT</a> table.<br>
</div>
<pre><span id="VALeblc"><span class="keyword">val</span> eblc</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/eblc.htm">EBLC</a> table.<br>
</div>
<pre><span id="VALebsc"><span class="keyword">val</span> ebsc</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/ebsc.htm">EBSC</a> table.<br>
</div>
<br>
<h2 id="2_Optionaltables">Optional tables</h2><br>
<pre><span id="VALdsig"><span class="keyword">val</span> dsig</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/dsig.htm">DSIG</a> table.<br>
</div>
<pre><span id="VALgasp"><span class="keyword">val</span> gasp</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/gasp.htm">gasp</a> table.<br>
</div>
<pre><span id="VALhdmx"><span class="keyword">val</span> hdmx</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/hdmx.htm">hdmx</a> table.<br>
</div>
<pre><span id="VALkern"><span class="keyword">val</span> kern</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/kern.htm">kern</a> table.<br>
</div>
<pre><span id="VALltsh"><span class="keyword">val</span> ltsh</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/ltsh.htm">LTSH</a> table.<br>
</div>
<pre><span id="VALpclt"><span class="keyword">val</span> pclt</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/pclt.htm">PCLT</a> table.<br>
</div>
<pre><span id="VALvdmx"><span class="keyword">val</span> vdmx</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/vdmx.htm">VDMX</a> table.<br>
</div>
<pre><span id="VALvhea"><span class="keyword">val</span> vhea</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/vhea.htm">vhea</a> table.<br>
</div>
<pre><span id="VALvmtx"><span class="keyword">val</span> vmtx</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/vmtx.htm">vmtx</a> table.<br>
</div>
<br>
<h2 id="2_Advancedtypographictables">Advanced typographic tables</h2><br>
<pre><span id="VALbase"><span class="keyword">val</span> base</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/base.htm">BASE</a> table.<br>
</div>
<pre><span id="VALgdef"><span class="keyword">val</span> gdef</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/gdef.htm">GDEF</a> table.<br>
</div>
<pre><span id="VALgpos"><span class="keyword">val</span> gpos</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/gpos.htm">GPOS</a> table.<br>
</div>
<pre><span id="VALgsub"><span class="keyword">val</span> gsub</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/gsub.htm">GSUB</a> table.<br>
</div>
<pre><span id="VALjstf"><span class="keyword">val</span> jstf</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
The <a href="http://www.microsoft.com/typography/otspec/jstf.htm">JSTF</a> table.<br>
</div>
<br>
<h1 id="1_Functions">Functions</h1><br>
<pre><span id="VALof_bytes"><span class="keyword">val</span> of_bytes</span> : <code class="type">string -> <a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
<code class="code">of_bytes s</code> is a tag corresponding to <code class="code">s</code>. 
      @Raise Invalid_argument if <code class="code">s</code> is not four byte long.<br>
</div>
<pre><span id="VALto_bytes"><span class="keyword">val</span> to_bytes</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a> -> string</code></pre><div class="info">
<code class="code">to_string t</code> is the tag as a four byte long string.<br>
</div>
<pre><span id="VALto_int32"><span class="keyword">val</span> to_int32</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a> -> int32</code></pre><div class="info">
<code class="code">to_int32 t</code> is the tag as an unsigned 32 bits integer.<br>
</div>
<pre><span id="VALof_int32"><span class="keyword">val</span> of_int32</span> : <code class="type">int32 -> <a href="Otfm.html#TYPEtag">Otfm.tag</a></code></pre><div class="info">
<code class="code">of_int32 t</code> is the tag from and unsigned 32 bits integer.<br>
</div>
<pre><span id="VALcompare"><span class="keyword">val</span> compare</span> : <code class="type"><a href="Otfm.html#TYPEtag">Otfm.tag</a> -> <a href="Otfm.html#TYPEtag">Otfm.tag</a> -> int</code></pre><div class="info">
<code class="code">compare t t'</code> is <code class="code"><span class="constructor">Pervasives</span>.compare t t'</code><br>
</div>
<pre><span id="VALpp"><span class="keyword">val</span> pp</span> : <code class="type">Format.formatter -> <a href="Otfm.html#TYPEtag">Otfm.tag</a> -> unit</code></pre><div class="info">
<code class="code">pp t</code> prints a textual representation of <code class="code">t</code> on <code class="code">ppf</code>.<br>
</div>
</body></html>