/usr/share/doc/libthai0/html/index.html is in libthai-doc 0.1.27-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | <!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libthai: Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libthai
 <span id="projectnumber">0.1.27</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">libthai Documentation</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>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.</p>
<h1><a class="anchor" id="LibThaiFuncs"></a>
LibThai Functions by Category</h1>
<p>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#af6c55804904b75b3f22d43d5dfada0fe" title="Find word break positions in Thai wide-char string. ">th_wbrk()</a> is unicode version of <a class="el" href="thbrk_8h.html#af2968cc4572afd30f17f24fec3338b13" title="Find word break positions in Thai string. ">th_brk()</a> function.</p>
<h2><a class="anchor" id="ThCType"></a>
Functions for classifying characters</h2>
<p><a class="el" href="thctype_8h.html#a7de13716ab805c506d667ad4f7aa466b" title="Is the character a valid TIS-620 code? ">th_istis()</a>, <a class="el" href="thctype_8h.html#a8bd2953cfcfbecbafee6da4ee10b92c0" title="Is the character a Thai character? ">th_isthai()</a>, <a class="el" href="thctype_8h.html#a5f86566a58acf70c951e7552a9315f96" title="Is the character an English character? ">th_iseng()</a>, <a class="el" href="thctype_8h.html#a6d14cae7599d2e964486a1baf21a3a61" title="Is the character a Thai consonant? ">th_isthcons()</a>, <a class="el" href="thctype_8h.html#af2d70a433de9da0e3c3dfa716de091da" title="Is the character a Thai vowel? ">th_isthvowel()</a>, <a class="el" href="thctype_8h.html#aabdf1efc78073f4f90f3dc7f8cb7d880" title="Is the character a Thai tone mark? ">th_isthtone()</a>, <a class="el" href="thctype_8h.html#a1268e14c188587e9099a673367bc916b" title="Is the character a Thai diacritic? ">th_isthdiac()</a>, <a class="el" href="thctype_8h.html#a63c4258cd0efc38e37da3ae2f21b7461" title="Is the character a Thai digit? ">th_isthdigit()</a>, <a class="el" href="thctype_8h.html#a6472a5234e4313c275f356d526a2b2f5" title="Is the character a Thai punctuation? ">th_isthpunct()</a>, <a class="el" href="thctype_8h.html#abadd468552033112769388604937137f" title="Is the character a Thai consonant that fits the x-height? ">th_istaillesscons()</a>, <a class="el" href="thctype_8h.html#acf1638982a2667e6014fc95086c8dc18" title="Is the character a Thai consonant with stem above ascender? ">th_isovershootcons()</a>, <a class="el" href="thctype_8h.html#a3a36989ff54a6682f80b01599f3f2091" title="Is the character a Thai consonant with stem below baseline? ">th_isundershootcons()</a>, <a class="el" href="thctype_8h.html#a9119f1a837948b7c14330a4b93ac8104" title="Is the character a Thai consonant with split part below baseline? ">th_isundersplitcons()</a>, <a class="el" href="thctype_8h.html#ad6b3fb6f3cc012c4cb6dd8056f46cebc" title="Is the character a Thai leading vowel? ">th_isldvowel()</a>, <a class="el" href="thctype_8h.html#ac8fee2fc3a8485c3198954c4c7d28705" title="Is the character a Thai following vowel? ">th_isflvowel()</a>, <a class="el" href="thctype_8h.html#ae9fe4d5cbfc47812c92450e9a62243ff" title="Is the character a Thai upper vowel? ">th_isupvowel()</a>, <a class="el" href="thctype_8h.html#a2336cf56576a235c4a6f0555ccac4d35" title="Is the character a Thai below vowel? ">th_isblvowel()</a>, <a class="el" href="thctype_8h.html#a70cb0fccf27b3897a683ca1ee0429c3f" title="Position for rendering: ">th_chlevel()</a>, <a class="el" href="thctype_8h.html#a328e113f8a7521a0a824f60fda5ac994" title="Is the character a combining character? ">th_iscombchar()</a>, <a class="el" href="thwctype_8h.html#a0cbd00082d65a4b038f98d00d848ad8d" title="Is the wide character convertible to a valid TIS-620 code? ">th_wcistis()</a>, <a class="el" href="thwctype_8h.html#ac4bc3ee39f262c9882a49e11837bdeb2" title="Is the wide character a Thai character? ">th_wcisthai()</a>, <a class="el" href="thwctype_8h.html#a100aa8540ab2364b60e7c6f64875eca3" title="Is the wide character an English character? ">th_wciseng()</a>, <a class="el" href="thwctype_8h.html#a3f16ceb7953fa04c17fdf57fd44e2e7a" title="Is the wide character a Thai consonant? ">th_wcisthcons()</a>, <a class="el" href="thwctype_8h.html#a0b7c73559afdf7999cc742396478ab48" title="Is the wide character a Thai vowel? ">th_wcisthvowel()</a>, <a class="el" href="thwctype_8h.html#ac7b46ab16e3423c692734e0382353025" title="Is the wide character a Thai tone mark? ">th_wcisthtone()</a>, <a class="el" href="thwctype_8h.html#a00fc0833923e3a1f9175b35067803d50" title="Is the wide character a Thai diacritic? ">th_wcisthdiac()</a>, <a class="el" href="thwctype_8h.html#a37106981fc21a38a903cf88c04a74f37" title="Is the character a Thai digit? ">th_wcisthdigit()</a>, <a class="el" href="thwctype_8h.html#a56d90741006df559bf594616b5d74063" title="Is the character a Thai punctuation? ">th_wcisthpunct()</a>, <a class="el" href="thwctype_8h.html#ae70dc315c23d0110a338fb07896748b9" title="Is the wide character a Thai consonant that fits the x-height? ">th_wcistaillesscons()</a>, <a class="el" href="thwctype_8h.html#a4bbc20e26522b80ccae4c56011b1e95c" title="Is the wide character a Thai consonant with stem above ascender? ">th_wcisovershootcons()</a>, <a class="el" href="thwctype_8h.html#ad3a36b7ddf431a2d5d263fc8c42ba023" title="Is the wide character a Thai consonant with stem below baseline? ">th_wcisundershootcons()</a>, <a class="el" href="thwctype_8h.html#a75a8553e7b6b3b3fd3350c0729843444" title="Is the wide character a Thai consonant with split part below baseline? ">th_wcisundersplitcons()</a>, <a class="el" href="thwctype_8h.html#a81a786e88ddda5fb3d7b0c70c47c946d" title="Is the wide character a Thai leading vowel? ">th_wcisldvowel()</a>, <a class="el" href="thwctype_8h.html#ab6cf618ecceb552b435b3dbd3e0730e0" title="Is the wide character a Thai following vowel? ">th_wcisflvowel()</a>, <a class="el" href="thwctype_8h.html#ac3e08f8a74c03af81e258a032e6d640e" title="Is the wide character a Thai upper vowel? ">th_wcisupvowel()</a>, <a class="el" href="thwctype_8h.html#aea0bc6f12ba32f4c2ee155e74a1c031d" title="Is the wide character a Thai below vowel? ">th_wcisblvowel()</a>, <a class="el" href="thwctype_8h.html#a74222d007ca5629cda5270e8099b3a5b" title="Position for rendering: ">th_wcchlevel()</a>, th_wciscombchar()</p>
<h2><a class="anchor" id="ThBrk"></a>
Functions for word segmentation</h2>
<p><a class="el" href="thbrk_8h.html#a5025d40315abede7c1bc6fb792ac95db" title="Create a dictionary-based word breaker. ">th_brk_new()</a>, <a class="el" href="thbrk_8h.html#a7d0a9fcab72812466336a06bf40e8fde" title="Delete a word breaker. ">th_brk_delete()</a>, <a class="el" href="thbrk_8h.html#ac4fd65b680140d72d91f9c249381a3e7" title="Find word break positions in Thai string. ">th_brk_find_breaks()</a>, <a class="el" href="thbrk_8h.html#a4caba8399ab4c894534ab3949f340c9b" title="Insert word delimitors in given string. ">th_brk_insert_breaks()</a>, <a class="el" href="thwbrk_8h.html#a20df6bc35420449b3e7f8976bd0d1868" title="Find word break positions in Thai wide-char string. ">th_brk_wc_find_breaks()</a>, <a class="el" href="thwbrk_8h.html#aa8b19eaa23606feac3e971e22c9bc1f9" title="Insert word delimitors in given wide-char string. ">th_brk_wc_insert_breaks()</a>, <a class="el" href="thbrk_8h.html#af2968cc4572afd30f17f24fec3338b13" title="Find word break positions in Thai string. ">th_brk()</a>, <a class="el" href="thbrk_8h.html#ad6609cb290e2218489bc8d53c209bc10" title="Insert word delimitors in given string. ">th_brk_line()</a>, <a class="el" href="thwbrk_8h.html#af6c55804904b75b3f22d43d5dfada0fe" title="Find word break positions in Thai wide-char string. ">th_wbrk()</a>, <a class="el" href="thwbrk_8h.html#ac26c9ef028996580e119a2aaad1deaf3" title="Insert word delimitors in given wide-char string. ">th_wbrk_line()</a></p>
<h2><a class="anchor" id="ThColl"></a>
Functions for Thai string collation</h2>
<p><a class="el" href="thcoll_8h.html#ac99ad0e1724a29f7d30fa345129ed758" title="Compare two Thai strings for collation. ">th_strcoll()</a>, <a class="el" href="thcoll_8h.html#ad639be2fbad65c357726617dd6c02452" title="Transform string into collatable form. ">th_strxfrm()</a>, <a class="el" href="thwcoll_8h.html#a3d4fbf3465f1d6858748a1b3ac870f44" title="Compare two Thai wide-char strings for collation. ">th_wcstrcoll()</a>, <a class="el" href="thwcoll_8h.html#a233a97c07b230d8e30ece80bdd31266f" title="Transform wide-char string into collatable form. ">th_wcstrxfrm()</a></p>
<h2><a class="anchor" id="ThStr"></a>
Functions for correct the sequence of Thai string</h2>
<p><a class="el" href="thstr_8h.html#a2222ed60e0de0d9f4887b3193a91a062" title="Normalize character order and remove excessive characters. ">th_normalize()</a>, <a class="el" href="thwstr_8h.html#a6ff847909ef57d1bbaa44210ce30e6dc" title="Normalize character order and remove excessive characters. ">th_wnormalize()</a></p>
<h2><a class="anchor" id="ThCell"></a>
Functions for Thai string cell operation</h2>
<p><a class="el" href="thcell_8h.html#abf0f4f32b9fba28c54a3f606032a1762" title="Get first cell from string. ">th_next_cell()</a>, <a class="el" href="thcell_8h.html#a07411f42d64d4988c60f935a1bbf6bed" title="Get previous cell from string. ">th_prev_cell()</a>, <a class="el" href="thcell_8h.html#ae768895ab7b5fe369423666ae8bc011d" title="Tokenize string into cells. ">th_make_cells()</a></p>
<h2><a class="anchor" id="ThInp"></a>
Functions for Thai characters input</h2>
<p><a class="el" href="thinp_8h.html#ae8cdd4f588993c3c4f906061d5cfcb6c" title="Check for acceptance of input sequence. ">th_isaccept()</a>, <a class="el" href="thinp_8h.html#a12ba170567ebb0817c73fca3b5ac67ec" title="Check and try to correct input sequence with default strictness. ">th_validate()</a>, <a class="el" href="thinp_8h.html#a762ea7fb2d352a8e9d3b84bb22e4208b" title="Check and try to correct input sequence. ">th_validate_leveled()</a></p>
<h2><a class="anchor" id="ThRend"></a>
Functions for Thai string rendering</h2>
<p><a class="el" href="thrend_8h.html#a829ae4812fb90113534c1d15e35f2976" title="Render the given cell using TIS-620 glyph set. ">th_render_cell_tis()</a>, <a class="el" href="thrend_8h.html#a2c102eadc6eb85de5362d373ca5b5440" title="Render the given cell using Thai Windows glyph set. ">th_render_cell_win()</a>, <a class="el" href="thrend_8h.html#afe620f7ddbc5bee3190cda31b59fe79f" title="Render the given cell using Mac Thai glyph set. ">th_render_cell_mac()</a>, <a class="el" href="thrend_8h.html#a1de504f744df81b7f795d549aafc9f8e" title="Render the given text using TIS-620 glyph set. ">th_render_text_tis()</a>, <a class="el" href="thrend_8h.html#a07a852723de308342ee65737c281b749" title="Render the given text using Thai Windows glyph set. ">th_render_text_win()</a>, <a class="el" href="thrend_8h.html#ab8158d124fb2d92e7f364c18bc09e28a" title="Render the given text using Mac Thai glyph set. ">th_render_text_mac()</a></p>
<h2><a class="anchor" id="ThWChar"></a>
Functions for converting between unicode and tis-620</h2>
<p><a class="el" href="thwchar_8h.html#ac701f59d18ba58af555876f8fb6e2920" title="Convert character code from TIS-620 to Unicode. ">th_tis2uni()</a>, <a class="el" href="thwchar_8h.html#a3e7706fe0882acab3dc26bd74b442786" title="Convert string from TIS-620 to Unicode. ">th_tis2uni_line()</a>, <a class="el" href="thwchar_8h.html#a645bd448345fe7ee68bc5cf8faefb8bd" title="Convert character code from Thai Windows extended code to Unicode. ">th_winthai2uni()</a>, <a class="el" href="thwchar_8h.html#a4496f3813622471c9b517e7dc5b8ffdc" title="Convert character code from Mac Thai extended code to Unicode. ">th_macthai2uni()</a>, <a class="el" href="thwchar_8h.html#af9254228afa54671b47b55b6bee6afc4" title="Convert character code from Unicode to TIS-620. ">th_uni2tis()</a>, <a class="el" href="thwchar_8h.html#a72225f1c24c6ecd5056f53e620b931b6" title="Convert string from Unicode to TIS-620. ">th_uni2tis_line()</a>, <a class="el" href="thwchar_8h.html#a11e60d3d47b6262661f3eafa5cdfecd0" title="Convert character code from Unicode to Thai Windows extended code. ">th_uni2winthai()</a>, <a class="el" href="thwchar_8h.html#a3e47bb56a7421897b4471250415f5e5d" title="Convert character code from Unicode to Mac Thai extended code. ">th_uni2macthai()</a> </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
|