1.get charcode whitch you want to display with misaki font.
$ echo '美しい美咲フォントの世界' | nkf -s | hexdump
0000000 fc94 b582 a282 fc94 e78d 7483 4883 9383
0000010 6783 cc82 a290 458a 000a
0000019
note:Character code:shift jis
2.change code sample.c
char test_letters[12][2] ={
{0x94,0xfc},//美
{0x82,0xb5},//し
{0x82,0xa2},//い
{0x94,0xfc},//美
{0x8d,0xe7},//咲
{0x83,0x74},//フ
{0x83,0x48},//ォ
{0x83,0x93},//ン
{0x83,0x67},//ト
{0x82,0xcc},//の
{0x90,0xa2},//世
{0x8a,0x45} //界
};
note:you need to change test_letters first index(12) to your characters count.
3.execute following command
make run
results
00100100
11111110
01111100
00010000
11111110
00010000
11101110
00000000
00100000
00100000
00100000
00100000
00100000
00100010
00011100
00000000
00000000
10001000
10000100
10000010
10000010
01010000
00100000
00000000
00100100
11111110
01111100
00010000
11111110
00010000
11101110
00000000
00010100
11100000
10111110
10101000
11111110
00001000
00110110
00000000
00000000
01111110
00000010
00000010
00000100
00001000
00110000
00000000
00000000
00000000
00001000
01111100
00011000
01101000
00011000
00000000
01000000
00100000
00000010
00000010
00000100
00001000
01110000
00000000
00100000
00100000
00100000
00111000
00100100
00100000
00100000
00000000
00000000
00111000
01010100
10010010
10100010
01000100
00011000
00000000
01010100
01010100
11111110
01010100
01011100
01000000
01111110
00000000
01111100
01010100
01111100
01010100
01111100
10101010
01001000
00000000