Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unibmp2hex(1) [debian man page]

UNIBMP2HEX(1)						      General Commands Manual						     UNIBMP2HEX(1)

NAME
unibmp2hex - Bitmap graphics file to GNU Unifont .hex file converter SYNOPSIS
unibmp2hex [-phexpage] [-iinput_file] [-ooutput_file] [-w] DESCRIPTION
unibmp2hex reads a bitmap produced by unihex2bmp before or after editing, and converts it back into a Unifont .hex format file. The graph- ics file contains a block of 256 Unicode code points arranged in a 16 by 16 grid. Each code point appears in a 32 by 32 pixel grid. Char- acters are either 16 rows by 8 columns, or 16 rows by 16 columns. OPTIONS
-ppagenum Specify that the code points will be assigned to the 256 block space pagenum in the .hex file. If not specified, unibmp2hex will determine the appropriate block by reading the row and column headers. Note that "page" is not a standard Unicode term. It refers to an output bitmap graphics page of 16 by 16 code points. If pagenum is greater than FF, the block resides above the Unicode Basic Multilingual Plane. In that event, the .hex file will contain eight digit hexadecimal code points rather than the Unifont standard of four hexadecimal code points. -i Specify the input file. The default is stdin. -o Specify the output file. The default is stdout. -w Force all output .hex glyphs to be 16 pixels wide rather than dual width (8 or 16 pixels). Sample usage: unibmp2hex -imy_input_file.bmp -omy_output_file.hex FILES
*.bmp or *.wbmp graphics files SEE ALSO
bdfimplode(1), hex2bdf(1), hex2bdf-split(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexmerge(1), johab2ucs2(1), unicoverage(1), unidup(1), unihex2bmp(1), unipagecount(1), uniunmask(1) AUTHOR
unibmp2hex was written by Paul Hardy. LICENSE
unibmp2hex is Copyright (C) 2007, 2008 Paul Hardy, and is released under version 2 of the GNU General Public License, or (at your option) a later version. BUGS
No known real bugs exist, except that this software does not perform extensive error checking on its input files. If they're not in the format of the original bitmapped output from unihex2bmp, all bets are off. If the output file is for a "page" containing space code points and the bitmap file squares for those code points are not empty, unibmp2hex preserve the graphics as they are drawn. They will be removed later using uniunmask, with spaces of the appropriate width from a substi- tutes.hex file. 2007 Dec 31 UNIBMP2HEX(1)

Check Out this Related Man Page

punycode_decode(3)						      libidn							punycode_decode(3)

NAME
punycode_decode - decode Punycode to Unicode SYNOPSIS
#include <punycode.h> int punycode_decode(size_t input_length, const char [] input, size_t * output_length, punycode_uint [] output, unsigned char [] case_flags); ARGUMENTS
size_t input_length The number of ASCII code points in the input array. const char [] input An array of ASCII code points (0..7F). size_t * output_length The caller passes in the maximum number of code points that it can receive into the output array (which is also the maximum number of flags that it can receive into the case_flags array, if case_flags is not a NULL pointer). On successful return it will contain the number of code points actually output (which is also the number of flags actually output, if case_flags is not a null pointer). The decoder will never need to output more code points than the number of ASCII code points in the input, because of the way the encoding is defined. The number of code points output cannot exceed the maximum possible value of a punycode_uint, even if the supplied output_length is greater than that. punycode_uint [] output An array of code points like the input argument of punycode_encode() (see above). unsigned char [] case_flags A NULL pointer (if the flags are not needed by the caller) or an array of boolean values parallel to the output array. Nonzero (true, flagged) suggests that the corresponding Unicode character be forced to uppercase by the caller (if possible), and zero (false, unflagged) suggests that it be forced to lowercase (if possible). ASCII code points (0..7F) are output already in the proper case, but their flags will be set appropriately so that applying the flags would be harmless. DESCRIPTION
Converts Punycode to a sequence of code points (presumed to be Unicode code points). RETURN VALUE
The return value can be any of the Punycode_status values defined above. If not PUNYCODE_SUCCESS, then output_length, output, and case_flags might contain garbage. REPORTING BUGS
Report bugs to <bug-libidn@gnu.org>. GNU Libidn home page: http://www.gnu.org/software/libidn/ General help using GNU software: http://www.gnu.org/gethelp/ COPYRIGHT
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SEE ALSO
The full documentation for libidn is maintained as a Texinfo manual. If the info and libidn programs are properly installed at your site, the command info libidn should give you access to the complete manual. libidn 1.15 punycode_decode(3)
Man Page