OS Manuals

/usr/bin/unigen-hangul

GNU Unifont C and Perl utilities (hex2bdf, hex2otf, unihex2bmp, etc.)

From font-unifont-tools 17.0.04-r3 (enterprise-packages), captured 2026-11-08 by running unigen-hangul --help (exit 0). permalink

unigen-hangul [options]

     Generates Hangul syllables from an input Unifont .hex file encoded
     in Johab 6/3/1 format.  By default, the output is the Unicode Hangul
     Syllables range, U+AC00..U+D7A3.  Options allow the user to specify
     a starting code point for the output Unifont .hex file, and ranges
     in hexadecimal of the starting and ending Hangul Jamo code points:

          * 1100-115E Initial consonants (choseong)
          * 1161-11A7 Medial vowels (jungseong)
          * 11A8-11FF Final consonants (jongseong).

     A single code point or 0 to omit can be specified instead of a range.

   Option    Parameters    Function
   ------    ----------    --------
   -h, --help              Print this message and exit.

   -all                    Generate all Hangul syllables, using all modern and
                           ancient Hangul in the Unicode range U+1100..U+11FF,
                           U+A960..U+A97C, and U+D7B0..U+D7FB.
                           WARNING: this will generate over 1,600,000 syllables
                           in a 115 megabyte Unifont .hex format file.  The
                           default is to only output modern Hangul syllables.

   -c        code_point    Starting code point in hexadecimal for output file.

   -j1       start-end     Choseong (jamo 1) start-end range in hexadecimal.

   -j2       start-end     Jungseong (jamo 2) start-end range in hexadecimal.

   -j3       start-end     Jongseong (jamo 3) start-end range in hexadecimal.

   -i        input_file    Unifont hangul-base.hex formatted input file.

   -o        output_file   Unifont .hex format output file.

      Example:

         unigen-hangul -c 1 -j3 11AB-11AB -i hangul-base.hex -o nieun-only.hex

      Generates Hangul syllables using all modern choseong and jungseong,
      and only the jongseong nieun (Unicode code point U+11AB).  The output
      Unifont .hex file will contain code points starting at 1.  Instead of
      specifying "-j3 11AB-11AB", simply using "-j3 11AB" will also suffice.
Options (8)
OptionDescriptionSource
-h, --helpPrint a help message and exit.help + man
-allGenerate all Hangul syllables, using all modern and ancient Hangul in the Unicode range U+1100..U+11FF, assigned code points in the Extended-A range of U+A960..U+A97C, and assigned code points in the…help + man
-c code_pointcode_point Starting code point in hexadecimal for output file.help + man
-j1 start-endstart-end Choseong (jamo 1) start-end range in hexadecimal.help + man
-j2 start-endstart-end Jungseong (jamo 2) start-end range in hexadecimal.help + man
-j3 start-endstart-end Jongseong (jamo 3) start-end range in hexadecimal.help + man
-i input_fileinput_file Unifont hangul-base.hex formatted input file.help + man
-o output_fileoutput_file Unifont .hex format output file.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.