Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 41ccc3b206824bb136a22fdbd1e55090 > files > 93

fontaine-0-3.svn39.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>FONTAINE: Farsi.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FONTAINE&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>Farsi.h</h1>  </div>
</div>
<div class="contents">
<a href="Farsi_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
<a name="l00002"></a>00002 <span class="comment">// The Fontaine Font Analysis Project </span>
<a name="l00003"></a>00003 <span class="comment">// </span>
<a name="l00004"></a>00004 <span class="comment">// Copyright (c) 2009 by Edward H. Trager</span>
<a name="l00005"></a>00005 <span class="comment">// All Rights Reserved</span>
<a name="l00006"></a>00006 <span class="comment">// </span>
<a name="l00007"></a>00007 <span class="comment">// Released under the GNU GPL version 2.0 or later.</span>
<a name="l00008"></a>00008 <span class="comment">//     </span>
<a name="l00009"></a>00009 
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="comment">//</span>
<a name="l00012"></a>00012 <span class="comment">// Farsi.h</span>
<a name="l00013"></a>00013 <span class="comment">//</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#ifndef ORTHOGRAPHY_DATA</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="OrthographyData_8h.html">../OrthographyData.h</a>&quot;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#endif</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span>
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef FARSI</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define FARSI</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a><a class="code" href="namespaceFarsi.html">00022</a> <span class="keyword">namespace </span>Farsi{
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="comment">//</span>
<a name="l00025"></a>00025 <span class="comment">// Unicode values -- Only those beyond basic Arabic</span>
<a name="l00026"></a>00026 <span class="comment">//</span>
<a name="l00027"></a><a class="code" href="namespaceFarsi.html#a6e84db1aac90317074d03cba219d2e9b">00027</a> <a class="code" href="OrthographyData_8h.html#ae1e6edbbc26d6fbc71a90190d0266018">UINT32</a> <a class="code" href="namespaceFarsi.html#a6e84db1aac90317074d03cba219d2e9b">values</a>[]={
<a name="l00028"></a>00028         0x067e, <span class="comment">// PEH</span>
<a name="l00029"></a>00029         0x0686, <span class="comment">// TCHEH</span>
<a name="l00030"></a>00030         0x0698, <span class="comment">// JEH</span>
<a name="l00031"></a>00031         0x06a9, <span class="comment">// KEHEH</span>
<a name="l00032"></a>00032         0x06af, <span class="comment">// GAF</span>
<a name="l00033"></a>00033         0x06c0, <span class="comment">// HEH WITH YEH ABOVE</span>
<a name="l00034"></a>00034         0x06cc, <span class="comment">// FARSI YEH</span>
<a name="l00035"></a>00035         <a class="code" href="OrthographyData_8h.html#a16b430c8fa8e0a80134df432fd16e832">START_RANGE_PAIR</a>,
<a name="l00036"></a>00036         0x06f0,0x06f9,
<a name="l00037"></a>00037         <a class="code" href="OrthographyData_8h.html#a5a221a5cacbfbdf14072eecf2e32b2f3">END_OF_DATA</a>
<a name="l00038"></a>00038 };
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="comment">//</span>
<a name="l00041"></a>00041 <span class="comment">// Sample sentences</span>
<a name="l00042"></a>00042 <span class="comment">// </span>
<a name="l00043"></a><a class="code" href="namespaceFarsi.html#a9ad4e4b358ac2310d75da01d72c13378">00043</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceFarsi.html#a9ad4e4b358ac2310d75da01d72c13378">sentences</a>[]={
<a name="l00044"></a>00044         <span class="stringliteral">&quot;من بنده عاصیم رضائی تو کجاست تاریک دلم&quot;</span>,
<a name="l00045"></a>00045         <a class="code" href="OrthographyData_8h.html#a5a221a5cacbfbdf14072eecf2e32b2f3">END_OF_DATA</a>
<a name="l00046"></a>00046 };
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="comment">//</span>
<a name="l00050"></a>00050 <span class="comment">// </span>
<a name="l00051"></a>00051 <span class="comment">//</span>
<a name="l00052"></a><a class="code" href="namespaceFarsi.html#a90e358e01b6326f56109db9954ce1ea4">00052</a> <a class="code" href="classOrthographyData.html">OrthographyData</a> <a class="code" href="namespaceFarsi.html#a90e358e01b6326f56109db9954ce1ea4">data</a>={
<a name="l00053"></a>00053         <span class="stringliteral">&quot;Farsi&quot;</span>, <span class="comment">// Common name</span>
<a name="l00054"></a>00054         <span class="stringliteral">&quot;فارسی&quot;</span>, <span class="comment">// Native name</span>
<a name="l00055"></a>00055         0x067e, <span class="comment">// ARABIC LETTER PEH</span>
<a name="l00056"></a>00056         <a class="code" href="namespaceFarsi.html#a6e84db1aac90317074d03cba219d2e9b">values</a>,
<a name="l00057"></a>00057         <span class="stringliteral">&quot;پ چ ژ ک گ ۀ ی&quot;</span>, <span class="comment">// Sample characters</span>
<a name="l00058"></a>00058         <a class="code" href="namespaceFarsi.html#a9ad4e4b358ac2310d75da01d72c13378">sentences</a>
<a name="l00059"></a>00059 };
<a name="l00060"></a>00060 
<a name="l00061"></a><a class="code" href="namespaceFarsi.html#a462846b128af74e94776eb8adb3844b5">00061</a> <span class="keyword">const</span> <a class="code" href="classOrthographyData.html">OrthographyData</a> *<a class="code" href="namespaceFarsi.html#a462846b128af74e94776eb8adb3844b5">pData</a> = &amp;<a class="code" href="namespaceFarsi.html#a90e358e01b6326f56109db9954ce1ea4">data</a>;
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 }; <span class="comment">// end of namespace</span>
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 8 2011 for FONTAINE by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>