GNU Unifont
15.0.04
Pan-Unicode font with complete Unicode Plane 0 coverage and partial coverage of higher planes
|
unigenwidth - IEEE 1003.1-2008 setup to calculate wchar_t string widths More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | MAXSTRING 256 |
Maximum input line length - 1. | |
#define | PIKTO_START 0x0F0E70 |
Start of Pikto code point range. | |
#define | PIKTO_END 0x0F11EF |
End of Pikto code point range. | |
#define | PIKTO_SIZE (PIKTO_END - PIKTO_START + 1) |
Functions | |
int | main (int argc, char **argv) |
The main function. More... | |
unigenwidth - IEEE 1003.1-2008 setup to calculate wchar_t string widths
All glyphs are treated as 16 pixels high, and can be 8, 16, 24, or 32 pixels wide (resulting in widths of 1, 2, 3, or 4, respectively).
Definition in file unigenwidth.c.
#define PIKTO_SIZE (PIKTO_END - PIKTO_START + 1) |
Number of code points in Pikto range.
Definition at line 52 of file unigenwidth.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 63 of file unigenwidth.c.