Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-updates > by-pkgid > d2004322c361b48b15297e46937ded25 > files > 36

lib64thai-devel-0.1.9-7.1mdv2009.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libthai: Main Page</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.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li class="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>libthai Documentation</h1>
<p>
<h3 align="center">0.1.9 </h3>LibThai is a set of Thai language support routines aimed to ease developers' tasks to incorporate Thai language support in their applications. It includes important Thai-specific functions e.g. word breaking, input and output methods as well as basic character and string supports. LibThai is an Open Source and collaborative effort initiated by Thai Linux Working Group and opened for all contributors.<h2><a class="anchor" name="LibThaiFuncs">
LibThai Functions by Category</a></h2>
LibThai provides functions to handle both tis-620 character set (single-byte) and unicode (multi-byte). A function name which includes `w', such as <a class="el" href="thwbrk_8h.html#92450f7ded5eddc838ead18be0c9b285" title="Find word break positions in Thai wide-char string.">th_wbrk()</a> is unicode version of <a class="el" href="thbrk_8h.html#8858205504ececef912f724a1690551e" title="Find word break positions in Thai string.">th_brk()</a> function.<h3><a class="anchor" name="ThCType">
Functions for classifying characters</a></h3>
<a class="el" href="thctype_8h.html#7de13716ab805c506d667ad4f7aa466b" title="Is the character a valid TIS-620 code?">th_istis()</a>, <a class="el" href="thctype_8h.html#8bd2953cfcfbecbafee6da4ee10b92c0" title="Is the character a Thai character?">th_isthai()</a>, <a class="el" href="thctype_8h.html#5f86566a58acf70c951e7552a9315f96" title="Is the character an English character?">th_iseng()</a>, <a class="el" href="thctype_8h.html#6d14cae7599d2e964486a1baf21a3a61" title="Is the character a Thai consonant?">th_isthcons()</a>, <a class="el" href="thctype_8h.html#f2d70a433de9da0e3c3dfa716de091da" title="Is the character a Thai vowel?">th_isthvowel()</a>, <a class="el" href="thctype_8h.html#abdf1efc78073f4f90f3dc7f8cb7d880" title="Is the character a Thai tone mark?">th_isthtone()</a>, <a class="el" href="thctype_8h.html#1268e14c188587e9099a673367bc916b" title="Is the character a Thai diacritic?">th_isthdiac()</a>, <a class="el" href="thctype_8h.html#63c4258cd0efc38e37da3ae2f21b7461" title="Is the character a Thai digit?">th_isthdigit()</a>, <a class="el" href="thctype_8h.html#6472a5234e4313c275f356d526a2b2f5" title="Is the character a Thai punctuation?">th_isthpunct()</a>, <a class="el" href="thctype_8h.html#badd468552033112769388604937137f" title="Is the character a Thai consonant that fits the x-height?">th_istaillesscons()</a>, <a class="el" href="thctype_8h.html#cf1638982a2667e6014fc95086c8dc18" title="Is the character a Thai consonant with stem above ascender?">th_isovershootcons()</a>, <a class="el" href="thctype_8h.html#3a36989ff54a6682f80b01599f3f2091" title="Is the character a Thai consonant with stem below baseline?">th_isundershootcons()</a>, <a class="el" href="thctype_8h.html#9119f1a837948b7c14330a4b93ac8104" title="Is the character a Thai consonant with split part below baseline?">th_isundersplitcons()</a>, <a class="el" href="thctype_8h.html#d6b3fb6f3cc012c4cb6dd8056f46cebc" title="Is the character a Thai leading vowel?">th_isldvowel()</a>, <a class="el" href="thctype_8h.html#c8fee2fc3a8485c3198954c4c7d28705" title="Is the character a Thai following vowel?">th_isflvowel()</a>, <a class="el" href="thctype_8h.html#e9fe4d5cbfc47812c92450e9a62243ff" title="Is the character a Thai upper vowel?">th_isupvowel()</a>, <a class="el" href="thctype_8h.html#2336cf56576a235c4a6f0555ccac4d35" title="Is the character a Thai below vowel?">th_isblvowel()</a>, <a class="el" href="thctype_8h.html#70cb0fccf27b3897a683ca1ee0429c3f" title="Position for rendering:.">th_chlevel()</a>, <a class="el" href="thctype_8h.html#328e113f8a7521a0a824f60fda5ac994" title="Is the character a combining character?">th_iscombchar()</a>, <a class="el" href="thwctype_8h.html#0cbd00082d65a4b038f98d00d848ad8d" title="Is the wide character convertible to a valid TIS-620 code?">th_wcistis()</a>, <a class="el" href="thwctype_8h.html#c4bc3ee39f262c9882a49e11837bdeb2" title="Is the wide character a Thai character?">th_wcisthai()</a>, <a class="el" href="thwctype_8h.html#100aa8540ab2364b60e7c6f64875eca3" title="Is the wide character an English character?">th_wciseng()</a>, <a class="el" href="thwctype_8h.html#3f16ceb7953fa04c17fdf57fd44e2e7a" title="Is the wide character a Thai consonant?">th_wcisthcons()</a>, <a class="el" href="thwctype_8h.html#0b7c73559afdf7999cc742396478ab48" title="Is the wide character a Thai vowel?">th_wcisthvowel()</a>, <a class="el" href="thwctype_8h.html#c7b46ab16e3423c692734e0382353025" title="Is the wide character a Thai tone mark?">th_wcisthtone()</a>, <a class="el" href="thwctype_8h.html#00fc0833923e3a1f9175b35067803d50" title="Is the wide character a Thai diacritic?">th_wcisthdiac()</a>, <a class="el" href="thwctype_8h.html#37106981fc21a38a903cf88c04a74f37" title="Is the character a Thai digit?">th_wcisthdigit()</a>, <a class="el" href="thwctype_8h.html#56d90741006df559bf594616b5d74063" title="Is the character a Thai punctuation?">th_wcisthpunct()</a>, <a class="el" href="thwctype_8h.html#e70dc315c23d0110a338fb07896748b9" title="Is the wide character a Thai consonant that fits the x-height?">th_wcistaillesscons()</a>, <a class="el" href="thwctype_8h.html#4bbc20e26522b80ccae4c56011b1e95c" title="Is the wide character a Thai consonant with stem above ascender?">th_wcisovershootcons()</a>, <a class="el" href="thwctype_8h.html#d3a36b7ddf431a2d5d263fc8c42ba023" title="Is the wide character a Thai consonant with stem below baseline?">th_wcisundershootcons()</a>, <a class="el" href="thwctype_8h.html#75a8553e7b6b3b3fd3350c0729843444" title="Is the wide character a Thai consonant with split part below baseline?">th_wcisundersplitcons()</a>, <a class="el" href="thwctype_8h.html#81a786e88ddda5fb3d7b0c70c47c946d" title="Is the wide character a Thai leading vowel?">th_wcisldvowel()</a>, <a class="el" href="thwctype_8h.html#b6cf618ecceb552b435b3dbd3e0730e0" title="Is the wide character a Thai following vowel?">th_wcisflvowel()</a>, <a class="el" href="thwctype_8h.html#c3e08f8a74c03af81e258a032e6d640e" title="Is the wide character a Thai upper vowel?">th_wcisupvowel()</a>, <a class="el" href="thwctype_8h.html#ea0bc6f12ba32f4c2ee155e74a1c031d" title="Is the wide character a Thai below vowel?">th_wcisblvowel()</a>, <a class="el" href="thwctype_8h.html#74222d007ca5629cda5270e8099b3a5b" title="Position for rendering:.">th_wcchlevel()</a>, th_wciscombchar()<h3><a class="anchor" name="ThBrk">
Functions for word segmentation</a></h3>
<a class="el" href="thbrk_8h.html#8858205504ececef912f724a1690551e" title="Find word break positions in Thai string.">th_brk()</a>, <a class="el" href="thbrk_8h.html#35edc3991aaff92491c16ba0e903bec9" title="Insert word delimitors in given string.">th_brk_line()</a>, <a class="el" href="thwbrk_8h.html#92450f7ded5eddc838ead18be0c9b285" title="Find word break positions in Thai wide-char string.">th_wbrk()</a>, <a class="el" href="thwbrk_8h.html#a3ce66b1aefec6f9dee90c59d0a99427" title="Insert word delimitors in given wide-char string.">th_wbrk_line()</a><h3><a class="anchor" name="ThColl">
Functions for Thai string collation</a></h3>
<a class="el" href="thcoll_8h.html#c99ad0e1724a29f7d30fa345129ed758" title="Compare two Thai strings for collation.">th_strcoll()</a>, <a class="el" href="thcoll_8h.html#d639be2fbad65c357726617dd6c02452" title="Transform string into collatable form.">th_strxfrm()</a>, <a class="el" href="thwcoll_8h.html#3d4fbf3465f1d6858748a1b3ac870f44" title="Compare two Thai wide-char strings for collation.">th_wcstrcoll()</a>, <a class="el" href="thwcoll_8h.html#233a97c07b230d8e30ece80bdd31266f" title="Transform wide-char string into collatable form.">th_wcstrxfrm()</a><h3><a class="anchor" name="ThStr">
Functions for correct the sequence of Thai string</a></h3>
<a class="el" href="thstr_8h.html#2222ed60e0de0d9f4887b3193a91a062" title="Normalize character order and remove excessive characters.">th_normalize()</a>, <a class="el" href="thwstr_8h.html#6ff847909ef57d1bbaa44210ce30e6dc" title="Normalize character order and remove excessive characters.">th_wnormalize()</a><h3><a class="anchor" name="ThCell">
Functions for Thai string cell operation</a></h3>
<a class="el" href="thcell_8h.html#bf0f4f32b9fba28c54a3f606032a1762" title="Get first cell from string.">th_next_cell()</a>, <a class="el" href="thcell_8h.html#07411f42d64d4988c60f935a1bbf6bed" title="Get previous cell from string.">th_prev_cell()</a>, <a class="el" href="thcell_8h.html#e768895ab7b5fe369423666ae8bc011d" title="Tokenize string into cells.">th_make_cells()</a><h3><a class="anchor" name="ThInp">
Functions for Thai characters input</a></h3>
<a class="el" href="thinp_8h.html#e8cdd4f588993c3c4f906061d5cfcb6c" title="Check for acceptance of input sequence.">th_isaccept()</a>, <a class="el" href="thinp_8h.html#12ba170567ebb0817c73fca3b5ac67ec" title="Check and try to correct input sequence.">th_validate()</a><h3><a class="anchor" name="ThRend">
Functions for Thai string rendering</a></h3>
<a class="el" href="thrend_8h.html#829ae4812fb90113534c1d15e35f2976" title="Render the given cell using TIS-620 glyph set.">th_render_cell_tis()</a>, <a class="el" href="thrend_8h.html#2c102eadc6eb85de5362d373ca5b5440" title="Render the given cell using Thai Windows glyph set.">th_render_cell_win()</a>, <a class="el" href="thrend_8h.html#fe620f7ddbc5bee3190cda31b59fe79f" title="Render the given cell using Mac Thai glyph set.">th_render_cell_mac()</a>, <a class="el" href="thrend_8h.html#1de504f744df81b7f795d549aafc9f8e" title="Render the given text using TIS-620 glyph set.">th_render_text_tis()</a>, <a class="el" href="thrend_8h.html#07a852723de308342ee65737c281b749" title="Render the given text using Thai Windows glyph set.">th_render_text_win()</a>, <a class="el" href="thrend_8h.html#b8158d124fb2d92e7f364c18bc09e28a" title="Render the given text using Mac Thai glyph set.">th_render_text_mac()</a><h3><a class="anchor" name="ThWChar">
Functions for converting between unicode and tis-620</a></h3>
<a class="el" href="thwchar_8h.html#c701f59d18ba58af555876f8fb6e2920" title="Convert character code from TIS-620 to Unicode.">th_tis2uni()</a>, <a class="el" href="thwchar_8h.html#3e7706fe0882acab3dc26bd74b442786" title="Convert string from TIS-620 to Unicode.">th_tis2uni_line()</a>, <a class="el" href="thwchar_8h.html#645bd448345fe7ee68bc5cf8faefb8bd" title="Convert character code from Thai Windows extended code to Unicode.">th_winthai2uni()</a>, <a class="el" href="thwchar_8h.html#4496f3813622471c9b517e7dc5b8ffdc" title="Convert character code from Mac Thai extended code to Unicode.">th_macthai2uni()</a>, <a class="el" href="thwchar_8h.html#b550a1294f939e54bf12a0ea8be3ab19" title="Convert character code from Unicode to TIS-620.">th_uni2tis()</a>, <a class="el" href="thwchar_8h.html#72225f1c24c6ecd5056f53e620b931b6" title="Convert string from Unicode to TIS-620.">th_uni2tis_line()</a>, <a class="el" href="thwchar_8h.html#ddf1c038ca4e26b2a167f77dfeb84488" title="Convert character code from Unicode to Thai Windows extended code.">th_uni2winthai()</a>, <a class="el" href="thwchar_8h.html#8bab278766ae1f51c8cff0d39e320aab" title="Convert character code from Unicode to Mac Thai extended code.">th_uni2macthai()</a> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 16 10:00:17 2010 for libthai by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>