GNU Unifont
15.1.01
Pan-Unicode font with complete Unicode Plane 0 coverage and partial coverage of higher planes
|
Display overalpped Hangul letter combinations in a grid. More...
Go to the source code of this file.
Macros | |
#define | MAXFILENAME 1024 |
#define | START_JUNG 0 |
Vowel index of first vowel with which to begin. | |
#define | RED 0xCC0000 |
Color code for slightly unsaturated HTML red. | |
#define | GREEN 0x00CC00 |
Color code for slightly unsaturated HTML green. | |
#define | BLUE 0x0000CC |
Color code for slightly unsaturated HTML blue. | |
#define | BLACK 0x000000 |
Color code for HTML black. | |
#define | WHITE 0xFFFFFF |
Color code for HTML white. | |
Functions | |
int | main (int argc, char *argv[]) |
The main function. | |
void | parse_args (int argc, char *argv[], int *inindex, int *outindex, int *modern_only) |
Parse command line arguments. More... | |
Display overalpped Hangul letter combinations in a grid.
This displays overlapped letters that form Unicode Hangul Syllables combinations, as a tool to determine bounding boxes for all combinations. It works with both modern and archaic Hangul letters.
Input is a Unifont .hex file such as the "hangul-base.hex" file that is part of the Unifont package. Glyphs are all processed as being 16 pixels wide and 16 pixels tall.
Output is an HTML file containing 16 by 16 pixel grids shwoing overlaps in table format, arranged by variation of the initial consonant (choseong).
Initial consonants (choseong) have 6 variations. In general, the first three are for combining with vowels (jungseong) that are vertical, horizontal, or vertical and horizontal, respectively; the second set of three variations are for combinations with a final consonant.
The output HTML file can be viewed in a web browser.
Definition in file unijohab2html.c.
void parse_args | ( | int | argc, |
char * | argv[], | ||
int * | inindex, | ||
int * | outindex, | ||
int * | modern_only | ||
) |
Parse command line arguments.
[in] | argc | The argc parameter to the main function. |
[in] | argv | The argv command line arguments to the main function. |
[in,out] | infile | The input filename; defaults to NULL. |
[in,out] | outfile | The output filename; defaults to NULL. |
Definition at line 608 of file unijohab2html.c.