Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 265 -
------------------------------------------------------------------------------
15. Get the font pattern of Kanji character. <Main>
------------------------------------------------------------------------------
[Name]
_getkanji
[Syntax]
#include <graph.h>
short _getkanji( unsigned short code, unsigned char *image ) ;
[Description]
Gets the font pattern of the specified Kanji character.
[Compatibility]
The character pattern format of MS-C for PC-9800 series and for PC-AT
are different each other. This function adopts the PC-9800 format.
The storing order of the character pattern array is as follows.
1. 14-inch CRT
76543210 76543210
........ ........
.......# ...#....
.##..### ######..
...#...# ...#....
......## #####...
.##...#. .#..#...
...#..## #####...
........ .#......
...#..## #####...
...#.... .#......
...#.### ######..
..#..... #.#.....
..#....# ...#....
.##..##. ....##..
........ ........
........ ........
The left-half is stored 1st, then the right-half.
Binary data stored actually.
0x10,0x10,
0x00,0x01,0x67,0x11,0x03,0x62,0x13,0x00,
0x13,0x10,0x17,0x20,0x21,0x66,0x00,0x00,
0x00,0x10,0xfc,0x10,0xf8,0x48,0xf8,0x40,
0xf8,0x40,0xfc,0xa0,0x10,0x0c,0x00,0x00