GNU Unifont 16.0.02
Pan-Unicode font with complete Unicode Plane 0 coverage and partial coverage of higher planes
|
unifont1per - Read a Unifont .hex file from standard input and produce one glyph per ".bmp" bitmap file as output More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | MAXSTRING 266 |
#define | MAXFILENAME 20 |
Functions | |
int | main () |
The main function. More... | |
unifont1per - Read a Unifont .hex file from standard input and produce one glyph per ".bmp" bitmap file as output
Each glyph is 16 pixels tall, and can be 8, 16, 24, or 32 pixels wide. The width of each output graphic file is determined automatically by the width of each Unifont hex representation.
This program creates files of the form "U+<codepoint>.bmp", 1 per glyph.
Synopsis: unifont1per < unifont.hex
Definition in file unifont1per.c.
#define MAXFILENAME 20 |
Maximum size of a filename of the form "U+%06X.bmp".
Definition at line 60 of file unifont1per.c.
#define MAXSTRING 266 |
Maximum size of an input line in a Unifont .hex file - 1.
Definition at line 57 of file unifont1per.c.
int main | ( | ) |
The main function.
Definition at line 69 of file unifont1per.c.