|
GNU Unifont 16.0.02
Pan-Unicode font with complete Unicode Plane 0 coverage and partial coverage of higher planes
|
unifontpic - See the "Big Picture": the entire Unifont in one BMP bitmap More...

Go to the source code of this file.
Macros | |
| #define | HDR_LEN 33 |
Functions | |
| int | main (int argc, char **argv) |
| The main function. More... | |
| void | output4 (int thisword) |
| Output a 4-byte integer in little-endian order. More... | |
| void | output2 (int thisword) |
| Output a 2-byte integer in little-endian order. More... | |
| void | gethex (char *instring, int plane_array[0x10000][16], int plane) |
| Read a Unifont .hex-format input file from stdin. More... | |
| void | genlongbmp (int plane_array[0x10000][16], int dpi, int tinynum, int plane) |
| Generate the BMP output file in long format. More... | |
| void | genwidebmp (int plane_array[0x10000][16], int dpi, int tinynum, int plane) |
| Generate the BMP output file in wide format. More... | |
unifontpic - See the "Big Picture": the entire Unifont in one BMP bitmap
Definition in file unifontpic.c.
| #define HDR_LEN 33 |
Define length of header string for top of chart.
Definition at line 73 of file unifontpic.c.
| void genlongbmp | ( | int | plane_array[0x10000][16], |
| int | dpi, | ||
| int | tinynum, | ||
| int | plane | ||
| ) |
Generate the BMP output file in long format.
This function generates the BMP output file from a bitmap parameter. This is a long bitmap, 16 glyphs wide by 4,096 glyphs tall.
| [in] | plane_array | The array of glyph bitmaps for a plane. |
| [in] | dpi | Dots per inch, for encoding in the BMP output file header. |
| [in] | tinynum | Whether to generate tiny numbers in wide grid (unused). |
| [in] | plane | The Unicode plane, 0..17. |
Definition at line 303 of file unifontpic.c.


| void genwidebmp | ( | int | plane_array[0x10000][16], |
| int | dpi, | ||
| int | tinynum, | ||
| int | plane | ||
| ) |
Generate the BMP output file in wide format.
This function generates the BMP output file from a bitmap parameter. This is a wide bitmap, 256 glyphs wide by 256 glyphs tall.
| [in] | plane_array | The array of glyph bitmaps for a plane. |
| [in] | dpi | Dots per inch, for encoding in the BMP output file header. |
| [in] | tinynum | Whether to generate tiny numbers in 256x256 grid. |
| [in] | plane | The Unicode plane, 0..17. |
Definition at line 590 of file unifontpic.c.


| void gethex | ( | char * | instring, |
| int | plane_array[0x10000][16], | ||
| int | plane | ||
| ) |
Read a Unifont .hex-format input file from stdin.
Each glyph can be 2, 4, 6, or 8 ASCII hexadecimal digits wide. Glyph height is fixed at 16 pixels.
| [in] | instring | One line from a Unifont .hex-format file. |
| [in,out] | plane_array | Bitmap for this plane, one bitmap row per element. |
| [in] | plane | The Unicode plane, 0..17. |
Definition at line 224 of file unifontpic.c.

| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
The main function.
| [in] | argc | The count of command line arguments. |
| [in] | argv | Pointer to array of command line arguments. |
Definition at line 93 of file unifontpic.c.

| void output2 | ( | int | thisword | ) |
Output a 2-byte integer in little-endian order.
| [in] | thisword | The 2-byte integer to output as binary data. |
Definition at line 203 of file unifontpic.c.

| void output4 | ( | int | thisword | ) |
Output a 4-byte integer in little-endian order.
| [in] | thisword | The 4-byte integer to output as binary data. |
Definition at line 185 of file unifontpic.c.
