GNU Unifont
15.1.01
Pan-Unicode font with complete Unicode Plane 0 coverage and partial coverage of higher planes
|
Generate arbitrary hangul syllables. More...
Go to the source code of this file.
Data Structures | |
struct | PARAMS |
Functions | |
int | main (int argc, char *argv[]) |
Program entry point. More... | |
void | parse_args (int argc, char *argv[], struct PARAMS *params) |
Parse command line arguments. | |
void | get_hex_range (char *instring, unsigned *start, unsigned *end) |
Scan a hexadecimal range from a character string. | |
Generate arbitrary hangul syllables.
Input is a Unifont .hex file such as the "hangul-base.hex" file that is included in the Unifont package.
The default program parameters will generate the Unicode Hangul Syllables range of U+AC00..U+D7A3. The syllables will appear in this order:
For each modern choseong { For each modern jungseong { Output syllable of choseong and jungseong For each modern jongseong { Output syllable of choseong + jungseong + jongseong } } }
By starting the jongseong code point at one before the first valid jongseong, the first inner loop iteration will add a blank glyph for the jongseong portion of the syllable, so only the current choseong and jungseong will be output first.
Definition in file unigen-hangul.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Program entry point.
Default parameters for Hangul syllable generation.
Definition at line 69 of file unigen-hangul.c.