/*
 * bdf2bmp  --  output all glyphs in a bdf-font to a bmp-image-file
 * version: 0.6
 * date:    Wed Jan 10 23:59:03 2001
 * author:  ITOU Hiroki (itouh@lycos.ne.jp)
 */


SYNOPSIS
        bdf2bmp [-options ...] input-BDF-file output-BMP-file

DESCRIPTION
        The bdf2bmp utility creates a BMP-image-file containing
        all the glyph-images in a BDF-font-file.  That BMP file
        is a kind of Windows-type, 256 colors(8bitsPerPixel).

OPTIONS
        bdf2bmp accepts command line options listed below:

        -s<number>
                This option specifies the width of spacing.
                The <number> can range from 0 to 32.  The
                default is 2.

        -c<number>
                This option specifies the number of columns in
                grid.  The <number> can range from 1 to 1024.
                The default is 32.

        -w
                This option directs to show the baseline and
                the widths of glyphs with gray colors.

        -i
                This option directs to prompt whether to
                overwrite an existing file.  If the response
                does not begin with `y' or `Y', the file is
                not overwritten.

        -h
                This option directs to print help.

EXAMPLES
        $  bdf2bmp -s 3 -c 16 courR18.bdf courR18.bmp

        $  bdf2bmp -wi xc/fonts/bdf/75dpi/timI18.bdf s.bmp

COMPILE
        The author succeeded compiling this source-code and
        executing in
                Linux 2.2.14 + gcc(egcs-2.91.66)

                Windows98 SecondEdition +
                Borland C++ Compiler 5.5.1 for Win32
        on
                IBM-PC compatible, Intel Celeron 433MHz

        This source-code is written in ANSI C style.
        So, you can probably compile and execute in other
        environments.

        An example to compile and install in Linux system:
                $  cc bdf2bmp.c -o bdf2bmp
                $  su
                #  cp bdf2bmp /usr/local/bin

COPYRIGHT
        Copyright (c) 2000,2001 ITOU Hiroki All rights reserved.
        See the source-code for details.

--
itouh
http://www.geocities.co.jp/Playtown-Domino/7021/
