\hypertarget{hangul_8h_source}{}\doxysection{hangul.\+h}
\label{hangul_8h_source}\index{src/hangul.h@{src/hangul.h}}
\mbox{\hyperlink{hangul_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00001}00001 \textcolor{comment}{/**}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00002}00002 \textcolor{comment}{   @file hangul.h}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00003}00003 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00004}00004 \textcolor{comment}{   @brief Define constants and function prototypes for using Hangul glyphs.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00005}00005 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00006}00006 \textcolor{comment}{   @author Paul Hardy}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00007}00007 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00008}00008 \textcolor{comment}{   @copyright Copyright © 2023 Paul Hardy}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00009}00009 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00010}00010 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00011}00011 \textcolor{comment}{   LICENSE:}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00012}00012 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00013}00013 \textcolor{comment}{      This program is free software: you can redistribute it and/or modify}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00014}00014 \textcolor{comment}{      it under the terms of the GNU General Public License as published by}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00015}00015 \textcolor{comment}{      the Free Software Foundation, either version 2 of the License, or}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00016}00016 \textcolor{comment}{      (at your option) any later version.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00017}00017 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00018}00018 \textcolor{comment}{      This program is distributed in the hope that it will be useful,}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00019}00019 \textcolor{comment}{      but WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00020}00020 \textcolor{comment}{      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00021}00021 \textcolor{comment}{      GNU General Public License for more details.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00022}00022 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00023}00023 \textcolor{comment}{      You should have received a copy of the GNU General Public License}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00024}00024 \textcolor{comment}{      along with this program.  If not, see <http://www.gnu.org/licenses/>.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00025}00025 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00026}00026 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00027}00027 \textcolor{preprocessor}{\#ifndef \_HANGUL\_H\_}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00028}00028 \textcolor{preprocessor}{\#define \_HANGUL\_H\_}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00029}00029 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00030}00030 \textcolor{preprocessor}{\#include <stdlib.h>}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00031}00031 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00032}00032 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00033}\mbox{\hyperlink{hangul_8h_a3e937c42922f7601edb17b747602c471}{00033}} \textcolor{preprocessor}{\#define MAXLINE     256 }\textcolor{comment}{///< Length of maximum file input line.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00035}00035 \textcolor{preprocessor}{\#define EXTENDED\_HANGUL }\textcolor{comment}{/* Use rare Hangul code points beyond U+1100 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00037}00037 \textcolor{comment}{/* Definitions to move Hangul .hex file contents into the Private Use Area. */}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00038}00038 \textcolor{preprocessor}{\#define PUA\_START   0xE000}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00039}00039 \textcolor{preprocessor}{\#define PUA\_END     0xE8FF}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00040}00040 \textcolor{preprocessor}{\#define MAX\_GLYPHS  (PUA\_END -\/ PUA\_START + 1) }\textcolor{comment}{/* Maximum .hex file glyphs */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00041}00041 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00042}00042 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00043}00043 \textcolor{comment}{   Unicode ranges for Hangul choseong, jungseong, and jongseong.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00044}00044 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00045}00045 \textcolor{comment}{   U+1100..U+11FF is the main range of modern and ancient Hangul jamo.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00046}00046 \textcolor{comment}{   U+A960..U+A97C is the range for extended Hangul choseong.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00047}00047 \textcolor{comment}{   U+D7B0..U+D7C6 is the range for extended Hangul jungseong.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00048}00048 \textcolor{comment}{   U+D7CB..U+D7FB is the range for extended Hangul jongseong.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00049}00049 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00050}\mbox{\hyperlink{hangul_8h_a136faa4688a685967fd5d7924a0d1881}{00050}} \textcolor{preprocessor}{\#define CHO\_UNICODE\_START   0x1100  }\textcolor{comment}{///< Modern Hangul choseong start}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00051}\mbox{\hyperlink{hangul_8h_a616c08a55df29fe0956c66c15705bc5f}{00051}} \textcolor{preprocessor}{\#define CHO\_UNICODE\_END     0x115E  }\textcolor{comment}{///< Hangul Jamo choseong end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00052}\mbox{\hyperlink{hangul_8h_a4153618c22f94f11eeb75834a5c0729d}{00052}} \textcolor{preprocessor}{\#define CHO\_EXTA\_UNICODE\_START  0xA960  }\textcolor{comment}{///< Hangul Extended-\/A choseong start}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00053}\mbox{\hyperlink{hangul_8h_a75ce785d49a097dbbe179d8ebe671c5f}{00053}} \textcolor{preprocessor}{\#define CHO\_EXTA\_UNICODE\_END    0xA97C  }\textcolor{comment}{///< Hangul Extended-\/A choseong end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00054}00054 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00055}\mbox{\hyperlink{hangul_8h_a84565f505a6cf9584179d595c1dbd331}{00055}} \textcolor{preprocessor}{\#define JUNG\_UNICODE\_START  0x1161  }\textcolor{comment}{///< Modern Hangul jungseong start}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00056}\mbox{\hyperlink{hangul_8h_ac5e9b3d850d9664e702e8cd330cbfa4b}{00056}} \textcolor{preprocessor}{\#define JUNG\_UNICODE\_END    0x11A7  }\textcolor{comment}{///< Modern Hangul jungseong end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00057}\mbox{\hyperlink{hangul_8h_a204baf063de1c6418bcf31a3834fe16a}{00057}} \textcolor{preprocessor}{\#define JUNG\_EXTB\_UNICODE\_START 0xD7B0  }\textcolor{comment}{///< Hangul Extended-\/B jungseong start}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00058}\mbox{\hyperlink{hangul_8h_afe4411910308475bdd7e13687987cfc5}{00058}} \textcolor{preprocessor}{\#define JUNG\_EXTB\_UNICODE\_END   0xD7C6  }\textcolor{comment}{///< Hangul Extended-\/B jungseong end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00059}00059 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00060}\mbox{\hyperlink{hangul_8h_a5c2ef68c3129eab97f29ac76d6061d9e}{00060}} \textcolor{preprocessor}{\#define JONG\_UNICODE\_START  0x11A8  }\textcolor{comment}{///< Modern Hangul jongseong start}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00061}\mbox{\hyperlink{hangul_8h_a15a192336db645af3e42a330bc5758c8}{00061}} \textcolor{preprocessor}{\#define JONG\_UNICODE\_END    0x11FF  }\textcolor{comment}{///< Modern Hangul jongseong end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00062}\mbox{\hyperlink{hangul_8h_abc5d018ac60a7dff7dd90ed98a738089}{00062}} \textcolor{preprocessor}{\#define JONG\_EXTB\_UNICODE\_START 0xD7CB  }\textcolor{comment}{///< Hangul Extended-\/B jongseong start}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00063}\mbox{\hyperlink{hangul_8h_a22bcb32ef304949469d73470b0211262}{00063}} \textcolor{preprocessor}{\#define JONG\_EXTB\_UNICODE\_END   0xD7FB  }\textcolor{comment}{///< Hangul Extended-\/B jongseong end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00064}00064 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00065}00065 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00066}00066 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00067}00067 \textcolor{comment}{   Number of modern and ancient letters in hangul-\/base.hex file.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00068}00068 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00069}\mbox{\hyperlink{hangul_8h_a55301ca3af5a8fbb59185d6d6bd8bf28}{00069}} \textcolor{preprocessor}{\#define NCHO\_MODERN  19 }\textcolor{comment}{///< 19 modern Hangul Jamo choseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00070}\mbox{\hyperlink{hangul_8h_a38561903839667a7ce2fabdcd2b8f6cb}{00070}} \textcolor{preprocessor}{\#define NCHO\_ANCIENT     76 }\textcolor{comment}{///< ancient Hangul Jamo choseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00071}\mbox{\hyperlink{hangul_8h_a0144f1668fd31e4caaa307236fdcd24a}{00071}} \textcolor{preprocessor}{\#define NCHO\_EXTA    29 }\textcolor{comment}{///< Hangul Extended-\/A choseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00072}\mbox{\hyperlink{hangul_8h_a9e675720a862703770bfeb5e4b654493}{00072}} \textcolor{preprocessor}{\#define NCHO\_EXTA\_RSRVD   3 }\textcolor{comment}{///< Reserved at end of Extended-\/A choseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00073}00073 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00074}\mbox{\hyperlink{hangul_8h_a7a37b9570683b2dda6c47e093ab30467}{00074}} \textcolor{preprocessor}{\#define NJUNG\_MODERN     21 }\textcolor{comment}{///< 21 modern Hangul Jamo jungseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00075}\mbox{\hyperlink{hangul_8h_aa4bc76a25d376acd2c97455e476ceb42}{00075}} \textcolor{preprocessor}{\#define NJUNG\_ANCIENT    50 }\textcolor{comment}{///< ancient Hangul Jamo jungseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00076}\mbox{\hyperlink{hangul_8h_ac0722300c0f6653ca96694d023d6c91b}{00076}} \textcolor{preprocessor}{\#define NJUNG\_EXTB   23 }\textcolor{comment}{///< Hangul Extended-\/B jungseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00077}\mbox{\hyperlink{hangul_8h_a9c3b54cce3c1e62a8b4af4c670891431}{00077}} \textcolor{preprocessor}{\#define NJUNG\_EXTB\_RSRVD  4 }\textcolor{comment}{///< Reserved at end of Extended-\/B junseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00078}00078 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00079}\mbox{\hyperlink{hangul_8h_a0f5e452bf9988d2ff966218c115ac8fc}{00079}} \textcolor{preprocessor}{\#define NJONG\_MODERN     27 }\textcolor{comment}{///< 28 modern Hangul Jamo jongseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00080}\mbox{\hyperlink{hangul_8h_a90cff8fc50796395eeae423b2066c9f9}{00080}} \textcolor{preprocessor}{\#define NJONG\_ANCIENT    61 }\textcolor{comment}{///< ancient Hangul Jamo jongseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00081}\mbox{\hyperlink{hangul_8h_a00c77dd9a1bd92e8238ceb3fd9851d40}{00081}} \textcolor{preprocessor}{\#define NJONG\_EXTB   49 }\textcolor{comment}{///< Hangul Extended-\/B jongseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00082}\mbox{\hyperlink{hangul_8h_a80320921dd37bec6024eaf5823df673b}{00082}} \textcolor{preprocessor}{\#define NJONG\_EXTB\_RSRVD  4 }\textcolor{comment}{///< Reserved at end of Extended-\/B jonseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00083}00083 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00084}00084 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00085}00085 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00086}00086 \textcolor{comment}{   Number of variations of each component in a Johab 6/3/1 arrangement.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00087}00087 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00088}\mbox{\hyperlink{hangul_8h_a0701ea8bfe17f2b3360397b3fa8dad05}{00088}} \textcolor{preprocessor}{\#define CHO\_VARIATIONS  6   }\textcolor{comment}{///< 6 choseong variations}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00089}\mbox{\hyperlink{hangul_8h_a8bcda08741a11636e3236f3d34372bcf}{00089}} \textcolor{preprocessor}{\#define JUNG\_VARIATIONS 3   }\textcolor{comment}{///< 3 jungseong variations}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00090}\mbox{\hyperlink{hangul_8h_a072e34c7730814b97335b6b59b69eb41}{00090}} \textcolor{preprocessor}{\#define JONG\_VARIATIONS 1   }\textcolor{comment}{///< 1 jongseong variation}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00091}00091 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00092}00092 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00093}00093 \textcolor{comment}{   Starting positions in the hangul-\/base.hex file for each component.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00094}00094 \textcolor{comment}{*/}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00095}00095 \textcolor{comment}{/// Location of first choseong (location 0x0000 is a blank glyph)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00096}\mbox{\hyperlink{hangul_8h_ab1bb63330600aa31b5fba9ac58ce171e}{00096}} \textcolor{comment}{}\textcolor{preprocessor}{\#define CHO\_HEX      0x0001}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00097}00097 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00098}00098 \textcolor{comment}{/// Location of first ancient choseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00099}\mbox{\hyperlink{hangul_8h_a94b0cfe610ce21659026297a9c31d467}{00099}} \textcolor{comment}{}\textcolor{preprocessor}{\#define CHO\_ANCIENT\_HEX (CHO\_HEX         + CHO\_VARIATIONS * NCHO\_MODERN)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00100}00100 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00101}00101 \textcolor{comment}{/// U+A960 Extended-\/A choseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00102}\mbox{\hyperlink{hangul_8h_ab5b015eab3736a3f68ccf2a4cfa37805}{00102}} \textcolor{comment}{}\textcolor{preprocessor}{\#define CHO\_EXTA\_HEX    (CHO\_ANCIENT\_HEX + CHO\_VARIATIONS * NCHO\_ANCIENT)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00103}00103 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00104}00104 \textcolor{comment}{/// U+A97F Extended-\/A last location in .hex file, including reserved Unicode code points at end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00105}\mbox{\hyperlink{hangul_8h_a4ae3ff116c8cc9e1919f8cbdb82a9f71}{00105}} \textcolor{comment}{}\textcolor{preprocessor}{\#define CHO\_LAST\_HEX    (CHO\_EXTA\_HEX    + CHO\_VARIATIONS * (NCHO\_EXTA + NCHO\_EXTA\_RSRVD) -\/ 1)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00106}00106 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00107}00107 \textcolor{comment}{/// Location of first jungseong (will be 0x2FB)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00108}\mbox{\hyperlink{hangul_8h_a2603eab2f2cae3b60e0f8a76424be923}{00108}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JUNG\_HEX    (CHO\_LAST\_HEX + 1)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00109}00109 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00110}00110 \textcolor{comment}{/// Location of first ancient jungseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00111}\mbox{\hyperlink{hangul_8h_a70c32b954a83568a41bd21f9a7edee2f}{00111}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JUNG\_ANCIENT\_HEX (JUNG\_HEX         + JUNG\_VARIATIONS * NJUNG\_MODERN)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00112}00112 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00113}00113 \textcolor{comment}{/// U+D7B0 Extended-\/B jungseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00114}\mbox{\hyperlink{hangul_8h_aba5138f283da08eb4b9bd56e2fd56cb9}{00114}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JUNG\_EXTB\_HEX    (JUNG\_ANCIENT\_HEX + JUNG\_VARIATIONS * NJUNG\_ANCIENT)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00115}00115 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00116}00116 \textcolor{comment}{/// U+D7CA Extended-\/B last location in .hex file, including reserved Unicode code points at end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00117}\mbox{\hyperlink{hangul_8h_a34891979cee58130127abd5e461f5d33}{00117}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JUNG\_LAST\_HEX   (JUNG\_EXTB\_HEX     + JUNG\_VARIATIONS * (NJUNG\_EXTB + NJUNG\_EXTB\_RSRVD) -\/ 1)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00118}00118 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00119}00119 \textcolor{comment}{/// Location of first jongseong (will be 0x421)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00120}\mbox{\hyperlink{hangul_8h_ad4e7a6ac8160c8f5576487db53d67925}{00120}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JONG\_HEX     (JUNG\_LAST\_HEX + 1)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00121}00121 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00122}00122 \textcolor{comment}{/// Location of first ancient jongseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00123}\mbox{\hyperlink{hangul_8h_aea2d861820cf998c2fd9eded2fd4d845}{00123}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JONG\_ANCIENT\_HEX (JONG\_HEX         + JONG\_VARIATIONS * NJONG\_MODERN)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00124}00124 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00125}00125 \textcolor{comment}{/// U+D7CB Extended-\/B jongseong}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00126}\mbox{\hyperlink{hangul_8h_a69c78468e5e1edc85cf662efd720a416}{00126}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JONG\_EXTB\_HEX    (JONG\_ANCIENT\_HEX + JONG\_VARIATIONS * NJONG\_ANCIENT)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00127}00127 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00128}00128 \textcolor{comment}{/// U+D7FF Extended-\/B last location in .hex file, including reserved Unicode code points at end}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00129}\mbox{\hyperlink{hangul_8h_a90cf07ba103b44a6874cef85de7003a7}{00129}} \textcolor{comment}{}\textcolor{preprocessor}{\#define JONG\_LAST\_HEX   (JONG\_EXTB\_HEX     + JONG\_VARIATIONS * (NJONG\_EXTB + NJONG\_EXTB\_RSRVD) -\/ 1)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00130}00130 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00131}00131 \textcolor{comment}{/* Common modern and ancient Hangul Jamo range */}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00132}\mbox{\hyperlink{hangul_8h_a5c0a9fd787bd30260ef97abe55e295dc}{00132}} \textcolor{preprocessor}{\#define JAMO\_HEX    0x0500  }\textcolor{comment}{///< Start of U+1100..U+11FF glyphs}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00133}\mbox{\hyperlink{hangul_8h_a7b9e6e3fe44ad89262cbe2cfc41e4fc4}{00133}} \textcolor{preprocessor}{\#define JAMO\_END    0x05FF  }\textcolor{comment}{///< End   of U+1100..U+11FF glyphs}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00134}00134 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00135}00135 \textcolor{comment}{/* Hangul Jamo Extended-\/A range */}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00136}\mbox{\hyperlink{hangul_8h_a1b60e6f04df1309e5ce72473acc4a634}{00136}} \textcolor{preprocessor}{\#define JAMO\_EXTA\_HEX   0x0600  }\textcolor{comment}{///< Start of U+A960..U+A97F glyphs}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00137}\mbox{\hyperlink{hangul_8h_a39acdbbb3d3177f30f74e4301537a890}{00137}} \textcolor{preprocessor}{\#define JAMO\_EXTA\_END   0x061F  }\textcolor{comment}{///< End   of U+A960..U+A97F glyphs}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00138}00138 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00139}00139 \textcolor{comment}{/* Hangul Jamo Extended-\/B range */}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00140}\mbox{\hyperlink{hangul_8h_a125dae990f98e245a98c0df6b158ce69}{00140}} \textcolor{preprocessor}{\#define JAMO\_EXTB\_HEX   0x0620  }\textcolor{comment}{///< Start of U+D7B0..U+D7FF glyphs}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00141}\mbox{\hyperlink{hangul_8h_abb89d6f87b724e1eaea6226484e5e3ad}{00141}} \textcolor{preprocessor}{\#define JAMO\_EXTB\_END   0x066F  }\textcolor{comment}{///< End   of U+D7B0..U+D7FF glyphs}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00142}00142 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00143}00143 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00144}00144 \textcolor{comment}{   These values allow enumeration of all modern and ancient letters.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00145}00145 \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00146}00146 \textcolor{comment}{   If RARE\_HANGUL is defined, include Hangul code points above U+11FF.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00147}00147 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00148}00148 \textcolor{preprocessor}{\#ifdef EXTENDED\_HANGUL}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00149}00149 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00150}00150 \textcolor{preprocessor}{\#define TOTAL\_CHO   (NCHO\_MODERN  + NCHO\_ANCIENT  + NCHO\_EXTA )}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00151}00151 \textcolor{preprocessor}{\#define TOTAL\_JUNG      (NJUNG\_MODERN + NJUNG\_ANCIENT + NJUNG\_EXTB)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00152}00152 \textcolor{preprocessor}{\#define TOTAL\_JONG  (NJONG\_MODERN + NJONG\_ANCIENT + NJONG\_EXTB)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00153}00153 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00154}00154 \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00155}00155 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00156}00156 \textcolor{preprocessor}{\#define TOTAL\_CHO   (NCHO\_MODERN  + NCHO\_ANCIENT )}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00157}00157 \textcolor{preprocessor}{\#define TOTAL\_JUNG      (NJUNG\_MODERN + NJUNG\_ANCIENT)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00158}00158 \textcolor{preprocessor}{\#define TOTAL\_JONG  (NJONG\_MODERN + NJONG\_ANCIENT)}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00159}00159 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00160}00160 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00161}00161 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00162}00162 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00163}00163 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00164}00164 \textcolor{comment}{   Function Prototypes.}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00165}00165 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00166}00166 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00167}00167 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{hangul_8h_a0c3abd429f2b52cfa38a22ba6a83eb78}{hangul\_read\_base8}}  (FILE *infp,  \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} base[][32]);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00168}00168 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{hangul_8h_afd372e1a400e28d1b61410187f038eec}{hangul\_read\_base16}} (FILE *infp, \textcolor{keywordtype}{unsigned} base[][16]);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00169}00169 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00170}00170 \textcolor{keywordtype}{void}     \mbox{\hyperlink{hangul_8h_a50a8e6626a7e76210784a560e8ac15b5}{hangul\_decompose}} (\textcolor{keywordtype}{unsigned} codept,}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00171}00171                            \textcolor{keywordtype}{int} *initial, \textcolor{keywordtype}{int} *medial, \textcolor{keywordtype}{int} *\textcolor{keyword}{final});}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00172}00172 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{hangul_8h_ae1787a61039977179f60e6f2cda16ac9}{hangul\_compose}}   (\textcolor{keywordtype}{int} initial, \textcolor{keywordtype}{int} medial, \textcolor{keywordtype}{int} \textcolor{keyword}{final});}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00173}00173 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00174}00174 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_a2f88bf9b2f6d754350f996933a0a9a65}{hangul\_hex\_indices}} (\textcolor{keywordtype}{int} choseong, \textcolor{keywordtype}{int} jungseong, \textcolor{keywordtype}{int} jongseong,}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00175}00175                          \textcolor{keywordtype}{int} *cho\_index, \textcolor{keywordtype}{int} *jung\_index, \textcolor{keywordtype}{int} *jong\_index);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00176}00176 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_a7b8f3653d0dd30a1145be38529370def}{hangul\_variations}} (\textcolor{keywordtype}{int} choseong, \textcolor{keywordtype}{int} jungseong, \textcolor{keywordtype}{int} jongseong,}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00177}00177                         \textcolor{keywordtype}{int} *cho\_var, \textcolor{keywordtype}{int} *jung\_var, \textcolor{keywordtype}{int} *jong\_var);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00178}00178 \textcolor{keywordtype}{int} \mbox{\hyperlink{hangul_8h_a12a0a69a62e5beb75f723a0e35bb2b37}{is\_wide\_vowel}}  (\textcolor{keywordtype}{int} vowel);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00179}00179 \textcolor{keywordtype}{int}  \mbox{\hyperlink{hangul_8h_ab795ff183c3e429e0eb9257a7737c57f}{cho\_variation}} (\textcolor{keywordtype}{int} choseong, \textcolor{keywordtype}{int} jungseong, \textcolor{keywordtype}{int} jongseong);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00180}00180 \textcolor{keywordtype}{int} \mbox{\hyperlink{hangul_8h_abaed5273181b15b047e92b3b79f68a4d}{jung\_variation}} (\textcolor{keywordtype}{int} choseong, \textcolor{keywordtype}{int} jungseong, \textcolor{keywordtype}{int} jongseong);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00181}00181 \textcolor{keywordtype}{int} \mbox{\hyperlink{hangul_8h_aaf73601bfe34292aa58b0d827feb01d8}{jong\_variation}} (\textcolor{keywordtype}{int} choseong, \textcolor{keywordtype}{int} jungseong, \textcolor{keywordtype}{int} jongseong);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00182}00182 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00183}00183 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_abb373afe914554ff8443f05d83b69e8e}{hangul\_syllable}} (\textcolor{keywordtype}{int} choseong, \textcolor{keywordtype}{int} jungseong, \textcolor{keywordtype}{int} jongseong,}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00184}00184                       \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} hangul\_base[][32], \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} *syllable);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00185}00185 \textcolor{keywordtype}{int} \mbox{\hyperlink{hangul_8h_a5683e04e68511d40e66dc8fe26a9a934}{glyph\_overlap}} (\textcolor{keywordtype}{unsigned} *glyph1, \textcolor{keywordtype}{unsigned} *glyph2);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00186}00186 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_a9aacff561033067830249796de592258}{combine\_glyphs}} (\textcolor{keywordtype}{unsigned} *glyph1, \textcolor{keywordtype}{unsigned} *glyph2,}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00187}00187                      \textcolor{keywordtype}{unsigned} *combined\_glyph);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00188}00188 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_a069b03f528213c0d14b78e5d4d61eccc}{one\_jamo}} (\textcolor{keywordtype}{unsigned} glyph\_table [\mbox{\hyperlink{hex2otf_8c_a1a1d1da8a5f6da54d749399b173c9bfc}{MAX\_GLYPHS}}][16],}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00189}00189                \textcolor{keywordtype}{unsigned} jamo, \textcolor{keywordtype}{unsigned} *jamo\_glyph);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00190}00190 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_a07b8c0163dd9e9b6f2560f09e0f3e570}{combined\_jamo}} (\textcolor{keywordtype}{unsigned} glyph\_table [\mbox{\hyperlink{hex2otf_8c_a1a1d1da8a5f6da54d749399b173c9bfc}{MAX\_GLYPHS}}][16],}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00191}00191                     \textcolor{keywordtype}{unsigned} cho, \textcolor{keywordtype}{unsigned} jung, \textcolor{keywordtype}{unsigned} jong,}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00192}00192                     \textcolor{keywordtype}{unsigned} *combined\_glyph);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00193}00193 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_a0b8d4a416ad7bb42a332332c7ba86da8}{print\_glyph\_txt}} (FILE *fp, \textcolor{keywordtype}{unsigned} codept, \textcolor{keywordtype}{unsigned} *this\_glyph);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00194}00194 \textcolor{keywordtype}{void} \mbox{\hyperlink{hangul_8h_a056fdfdb02eeccd48026c05ccb200435}{print\_glyph\_hex}} (FILE *fp, \textcolor{keywordtype}{unsigned} codept, \textcolor{keywordtype}{unsigned} *this\_glyph);}
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00195}00195 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00196}00196 }
\DoxyCodeLine{\Hypertarget{hangul_8h_source_l00197}00197 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
