mirror of
https://github.com/antoinevignau/source.git
synced 2025-01-07 22:32:55 +00:00
1 line
12 KiB
C
Executable File
1 line
12 KiB
C
Executable File
/***********************************************************************\
|
||
|
||
Filename: engphon.c
|
||
|
||
\***********************************************************************/
|
||
|
||
#include "environ.h"
|
||
|
||
char *Engphbintab[] = {
|
||
U_S(""),
|
||
U_S("\22\22"),
|
||
U_S("\22\22\22"),
|
||
U_S("\22\22\23\22\22"),
|
||
U_S("\22\22\24\24"),
|
||
U_S("\22\22\26\22\27\22\22"),
|
||
U_S("\22\22\27\22\24"),
|
||
U_S("\22\23"),
|
||
U_S("\22\23\23\24\26\24"),
|
||
U_S("\22\23\27\22\24"),
|
||
U_S("\22\24"),
|
||
U_S("\22\24\22"),
|
||
U_S("\22\24\22\24\22"),
|
||
U_S("\22\24\22\26\24\26\24"),
|
||
U_S("\22\24\22\27\24\26\24"),
|
||
U_S("\22\24\23\24\26\26\22\24"),
|
||
U_S("\22\24\24\22"),
|
||
U_S("\22\24\26\22\26\22\22"),
|
||
U_S("\22\24\27\22\27"),
|
||
U_S("\22\25\22\26"),
|
||
U_S("\22\25\27"),
|
||
U_S("\22\26"),
|
||
U_S("\22\26\22"),
|
||
U_S("\22\26\22\24\22\24"),
|
||
U_S("\22\26\23\22"),
|
||
U_S("\22\26\24\22"),
|
||
U_S("\22\26\26\22\22\25"),
|
||
U_S("\22\26\27\24\26"),
|
||
U_S("\22\27\22"),
|
||
U_S("\22\27\22\24"),
|
||
U_S("\22\27\22\26\24"),
|
||
U_S("\22\27\23\22"),
|
||
U_S("\22\27\24"),
|
||
U_S("\22\27\24\23\27"),
|
||
U_S("\22\27\25\24"),
|
||
U_S("\22\27\26\22\22"),
|
||
U_S("\22\27\26\24"),
|
||
U_S("\22\27\26\26"),
|
||
U_S("\23"),
|
||
U_S("\23\22"),
|
||
U_S("\23\22\22"),
|
||
U_S("\23\22\22\27\24"),
|
||
U_S("\23\22\24\22"),
|
||
U_S("\23\22\26"),
|
||
U_S("\23\22\26\26"),
|
||
U_S("\23\22\27\24"),
|
||
U_S("\23\23\22"),
|
||
U_S("\23\24"),
|
||
U_S("\23\24\22\23"),
|
||
U_S("\23\24\23"),
|
||
U_S("\23\24\26\24"),
|
||
U_S("\23\25\26"),
|
||
U_S("\23\26\22\22"),
|
||
U_S("\23\26\22\27"),
|
||
U_S("\23\26\24\22\27\24"),
|
||
U_S("\23\27"),
|
||
U_S("\23\27\22\22\24"),
|
||
U_S("\23\27\22\24\24"),
|
||
U_S("\23\27\22\26\27\22\22"),
|
||
U_S("\23\27\23\24\22"),
|
||
U_S("\23\27\24\22\22"),
|
||
U_S("\23\27\24\26"),
|
||
U_S("\23\27\25\22\26\24"),
|
||
U_S("\23\27\26\22"),
|
||
U_S("\23\27\26\26"),
|
||
U_S("\24\22"),
|
||
U_S("\24\22\22"),
|
||
U_S("\24\22\22\24\22"),
|
||
U_S("\24\22\23\24\22\24"),
|
||
U_S("\24\22\24\24\22\23\24"),
|
||
U_S("\24\22\26\22"),
|
||
U_S("\24\22\26\26\22"),
|
||
U_S("\24\22\27\22\23\27\24"),
|
||
U_S("\24\22\27\24"),
|
||
U_S("\24\22\27\26\24"),
|
||
U_S("\24\23\22\24"),
|
||
U_S("\24\23\24\24\22\26\24"),
|
||
U_S("\24\23\27\22"),
|
||
U_S("\24\23\27\26\22\27"),
|
||
U_S("\24\24\24"),
|
||
U_S("\24\25\24"),
|
||
U_S("\24\26\22"),
|
||
U_S("\24\26\22\26\22"),
|
||
U_S("\24\26\23\24\24"),
|
||
U_S("\24\26\24\26\22\27\22"),
|
||
U_S("\24\27"),
|
||
U_S("\24\27\22\27"),
|
||
U_S("\24\27\25\24\26"),
|
||
U_S("\25\22"),
|
||
U_S("\25\22\22\27\25"),
|
||
U_S("\25\22\24\26\24\26"),
|
||
U_S("\25\22\27\24"),
|
||
U_S("\25\24"),
|
||
U_S("\25\24\23\22\24"),
|
||
U_S("\25\25\24\24"),
|
||
U_S("\25\26\22\24\26\26"),
|
||
U_S("\25\26\26\22"),
|
||
U_S("\25\27\22\22"),
|
||
U_S("\25\27\22\26\26\22\24\22"),
|
||
U_S("\25\27\24\22"),
|
||
U_S("\25\27\25\26\24\24"),
|
||
U_S("\25\27\27"),
|
||
U_S("\26\22"),
|
||
U_S("\26\22\22"),
|
||
U_S("\26\22\22\25"),
|
||
U_S("\26\22\23\26\22"),
|
||
U_S("\26\22\24\22\27\22\24"),
|
||
U_S("\26\22\25\26"),
|
||
U_S("\26\22\26\22\27\24"),
|
||
U_S("\26\22\26\26\24\27\23\22"),
|
||
U_S("\26\22\27\22\24"),
|
||
U_S("\26\22\27\24"),
|
||
U_S("\26\22\27\25\24\26"),
|
||
U_S("\26\23"),
|
||
U_S("\26\23\24\22"),
|
||
U_S("\26\23\27\22\24\26\24"),
|
||
U_S("\26\24"),
|
||
U_S("\26\24\22\22\23"),
|
||
U_S("\26\24\22\27\22"),
|
||
U_S("\26\24\24\22\24"),
|
||
U_S("\26\24\26\24\24"),
|
||
U_S("\26\25\22\24"),
|
||
U_S("\26\25\26\23"),
|
||
U_S("\26\26\22"),
|
||
U_S("\26\26\22\26\26\24"),
|
||
U_S("\26\26\24\22\26"),
|
||
U_S("\26\26\26\24\24"),
|
||
U_S("\26\27\22\22\22"),
|
||
U_S("\26\27\24"),
|
||
U_S("\26\27\26\24"),
|
||
U_S("\27\22"),
|
||
U_S("\27\22\22"),
|
||
U_S("\27\22\22\25\24"),
|
||
U_S("\27\22\24"),
|
||
U_S("\27\22\24\23\22\27\24"),
|
||
U_S("\27\22\26"),
|
||
U_S("\27\22\26\24"),
|
||
U_S("\27\22\27"),
|
||
U_S("\27\22\27\24"),
|
||
U_S("\27\23"),
|
||
U_S("\27\23\24\22\24"),
|
||
U_S("\27\23\27\24"),
|
||
U_S("\27\24\22"),
|
||
U_S("\27\24\22\27\22\27"),
|
||
U_S("\27\24\25\24"),
|
||
U_S("\27\24\27\24"),
|
||
U_S("\27\25\24\22"),
|
||
U_S("\27\25\27\26\22"),
|
||
U_S("\27\26\22\22\22\24"),
|
||
U_S("\27\26\22\27\27\26\26"),
|
||
U_S("\27\26\24\27"),
|
||
U_S("\27\26\27\22\22"),
|
||
U_S("\27\27\24"),
|
||
U_S("\31\22"),
|
||
U_S("\31\22\24"),
|
||
U_S("\31\22\26\24"),
|
||
U_S("\31\23\22\24"),
|
||
U_S("\31\23\27\24\26\24"),
|
||
U_S("\31\24\25\24"),
|
||
U_S("\31\25\27\25\24"),
|
||
U_S("\31\26\22\24\22\24\26"),
|
||
U_S("\31\26\22\27\23\27\22\24"),
|
||
U_S("\31\26\23\26\24\22\27\24"),
|
||
U_S("\31\26\24\23"),
|
||
U_S("\31\26\25\24\24"),
|
||
U_S("\31\26\26\27\24"),
|
||
U_S("\31\27\22\22\27\24"),
|
||
U_S("\31\27\23"),
|
||
U_S("\31\27\24\22\26\26"),
|
||
U_S("\31\27\26\22\24"),
|
||
};
|
||
char Engctype[] = {
|
||
0x08,0x00,0x00,0x00,0x01,0x01,0x01,0x00,/*^@*/
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*^H*/
|
||
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*^P*/
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*^X*/
|
||
|
||
0x09,0x08,0x08,0x00,0x08,0x00,0x08,0x09,/* */
|
||
0x00,0x08,0x00,0x00,0x08,0x09,0x09,0x00,/*(*/
|
||
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*0*/
|
||
0x00,0x00,0x08,0x08,0x08,0x00,0x08,0x08,/*8*/
|
||
|
||
0x00,0x23,0x03,0x03,0x03,0x23,0x03,0x03,/*@*/
|
||
0x03,0x23,0x03,0x03,0x03,0x03,0x03,0x23,/*H*/
|
||
|
||
0x03,0x03,0x03,0x03,0x03,0x23,0x03,0x03,/*P*/
|
||
0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,/*X*/
|
||
|
||
0x08,0x25,0x05,0x05,0x05,0x25,0x05,0x05,/*`*/
|
||
0x05,0x25,0x05,0x05,0x05,0x05,0x05,0x25,/*h*/
|
||
|
||
0x05,0x05,0x05,0x05,0x05,0x25,0x05,0x05,/*p*/
|
||
0x05,0x05,0x05,0x00,0x00,0x00,0x00,0x00,/*x*/
|
||
|
||
0x23,0x23,0x03,0x23,0x03,0x23,0x23,0x25,/*<2A>*/
|
||
0x25,0x25,0x25,0x25,0x25,0x05,0x25,0x25,/*<2A>*/
|
||
|
||
0x25,0x25,0x25,0x25,0x25,0x25,0x05,0x25,/*<2A>*/
|
||
0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,/*<2A>*/
|
||
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,/*<2A>*/
|
||
0x00,0x00,0x00,0x08,0x00,0x00,0x23,0x23,/*<2A>*/
|
||
|
||
0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,/*<2A>*/
|
||
0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x25,/*<2A>*/
|
||
|
||
0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x08,/*<2A>*/
|
||
0x08,0x00,0x00,0x00,0x23,0x23,0x23,0x25,/*<2A>*/
|
||
|
||
0x09,0x09,0x08,0x08,0x08,0x08,0x00,0x00,/*<2A>*/
|
||
0x05,0x03,0x00,0x00,0x08,0x08,0x05,0x05,/*<2A>*/
|
||
|
||
0x00,0x00,0x00,0x00,0x00,0x23,0x23,0x23,/*<2A>*/
|
||
0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,/*<2A>*/
|
||
|
||
0x00,0x23,0x23,0x23,0x23,0x25,0x00,0x00,/*<2A>*/
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*<2A>*/
|
||
};
|
||
char Engphtab[][2] = {
|
||
0x00,0x00,
|
||
0x04,0x0B,
|
||
0x05,0x0B,
|
||
0x06,0x0B,
|
||
0x08,0x0B,
|
||
0x09,0x0B,
|
||
0x09,0x14,
|
||
0x0B,0x0B,
|
||
0x0B,0x14,
|
||
0x20,0x0B,
|
||
0x27,0x0B,
|
||
0x2D,0x0B,
|
||
0x61,0x18,
|
||
0x62,0x12,
|
||
0x62,0x13,
|
||
0x63,0x0B,
|
||
0x63,0x12,
|
||
0x63,0x14,
|
||
0x63,0x19,
|
||
0x64,0x12,
|
||
0x65,0x0B,
|
||
0x65,0x18,
|
||
0x66,0x15,
|
||
0x67,0x0B,
|
||
0x67,0x12,
|
||
0x67,0x14,
|
||
0x68,0x0B,
|
||
0x69,0x0B,
|
||
0x69,0x18,
|
||
0x6A,0x12,
|
||
0x6B,0x0B,
|
||
0x6B,0x12,
|
||
0x6B,0x19,
|
||
0x6C,0x0B,
|
||
0x6C,0x17,
|
||
0x6D,0x16,
|
||
0x6E,0x16,
|
||
0x6F,0x18,
|
||
0x70,0x0B,
|
||
0x70,0x13,
|
||
0x70,0x15,
|
||
0x71,0x12,
|
||
0x72,0x17,
|
||
0x73,0x14,
|
||
0x73,0x19,
|
||
0x74,0x0B,
|
||
0x74,0x12,
|
||
0x74,0x14,
|
||
0x75,0x0B,
|
||
0x75,0x17,
|
||
0x75,0x18,
|
||
0x76,0x15,
|
||
0x77,0x0B,
|
||
0x77,0x17,
|
||
0x78,0x12,
|
||
0x78,0x14,
|
||
0x79,0x18,
|
||
0x7A,0x14,
|
||
};
|
||
|
||
char Engnchar[] = {
|
||
0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x02,0x02,0x02,0x00,0x00,0x00,
|
||
0x0d,0x0d,0x0b,0x10,0x11,0x10,0x0b,0x10,
|
||
0x16,0x0d,0x0f,0x16,0x16,0x11,0x13,0x14,
|
||
0x0f,0x1b,0x1c,0x18,0x21,0x10,0x1b,0x1a,
|
||
0x10,0x0a,0x1f,0x20,0x02,0x21,0x1c,0x0d,
|
||
0x0c,0x02,0x1d,0x11,0x1f,0x0f,0x1c,0x0b,
|
||
0x10,0x0d,0x1f,0x1c,0x10,0x11,0x0e,0x1a,
|
||
0x11,0x13,0x15,0x0f,0x0c,0x10,0x0e,0x1e,
|
||
0x1d,0x0f,0x10,0x10,0x14,0x21,0x1f,0x1d,
|
||
0x16,0x1f,0x0d,0x18,0x1d,0x14,0x0d,0x1b,
|
||
0x1f,0x00,0x0f,0x00,0x09,0x1c,0x1b,0x1f,
|
||
0x22,0x16,0x00,0x00,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x17,0x00,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x16,
|
||
0x10,0x11,0x00,0x00,0x00,0x01,0x1d,0x00,
|
||
0x00,0x00,0x00,0x00,0x1c,0x09,0x0a,0x0b,
|
||
0x0c,0x0d,0x0e,0x0f,0x00,0x11,0x12,0x13,
|
||
0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,
|
||
0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,
|
||
};
|
||
char Engnindex[] = {
|
||
0x7f,0x00,0x00,0x57,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x5c,0x63,0x6e,0x00,0x00,0x00,
|
||
0x2a,0x32,0x7f,0x41,0x2a,0x1a,0x09,0x41,
|
||
0x14,0x21,0x7f,0x14,0x14,0x21,0x09,0x07,
|
||
0x7f,0x11,0x0e,0x7f,0x2a,0x22,0x7f,0x17,
|
||
0x37,0x03,0x7f,0x04,0x52,0x21,0x1d,0x44,
|
||
0x02,0x25,0x22,0x4b,0x22,0x7f,0x0a,0x02,
|
||
0x37,0x19,0x22,0x10,0x7f,0x19,0x05,0x07,
|
||
0x7f,0x02,0x06,0x7f,0x0a,0x3c,0x0d,0x05,
|
||
0x7f,0x02,0x16,0x1c,0x28,0x19,0x22,0x7f,
|
||
0x7f,0x22,0x7f,0x03,0x13,0x2d,0x7f,0x04,
|
||
0x22,0x00,0x1f,0x00,0x7f,0x7f,0x7f,0x07,
|
||
0x04,0x06,0x00,0x00,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x7f,0x00,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,
|
||
0x16,0x7f,0x00,0x00,0x00,0x7f,0x7f,0x00,
|
||
0x00,0x00,0x00,0x00,0x02,0x08,0x03,0x02,
|
||
0x02,0x08,0x05,0x02,0x00,0x08,0x02,0x02,
|
||
0x7f,0x06,0x06,0x08,0x03,0x02,0x07,0x04,
|
||
0x02,0x08,0x05,0x07,0x79,0x08,0x04,
|
||
};
|
||
char Engnlink[] = {
|
||
0x7c,0x00,0x0b,0x00,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x00,0x00,0x00,0x24,0x2f,0x30,
|
||
0x00,0x00,0x0c,0x00,0x00,0x00,0x03,0x00,
|
||
0x00,0x00,0x05,0x00,0x00,0x00,0x02,0x00,
|
||
0x18,0x00,0x00,0x06,0x00,0x00,0x07,0x00,
|
||
0x00,0x00,0x0d,0x00,0x00,0x00,0x00,0x00,
|
||
0x00,0x00,0x11,0x00,0x00,0x28,0x00,0x22,
|
||
0x00,0x2a,0x00,0x00,0x12,0x00,0x00,0x00,
|
||
0x26,0x00,0x00,0x35,0x00,0x00,0x00,0x00,
|
||
0x04,0x00,0x1a,0x00,0x00,0x00,0x00,0x34,
|
||
0x01,0x00,0x08,0x00,0x45,0x00,0x09,0x00,
|
||
0x00,0x53,0x2b,0x0b,0x41,0x49,0x0a,0x00,
|
||
0x00,0x00,0x00,0x15,0x1f,0x2c,0x24,0x2f,
|
||
0x30,0x3a,0x61,0x1b,0x00,0x2e,0x38,0x2d,
|
||
0x4b,0x32,0x3b,0x37,0x25,0x3c,0x68,0x00,
|
||
0x00,0x53,0x00,0x00,0x00,0x0b,0x43,0x00,
|
||
0x00,0x00,0x00,0x00,0x00,0x15,0x1f,0x2c,
|
||
0x24,0x2f,0x30,0x3a,0x00,0x1b,0x00,0x2e,
|
||
0x38,0x2d,0x4b,0x32,0x3b,0x37,0x25,0x3c,
|
||
0x68,0x39,0x29,0x40,0x00,0x00,0x3e,
|
||
};
|
||
char Engstr[] = {
|
||
0x0b,0x12,0x00,0x0b,0x15,0x00,0x12,0x0b,
|
||
0x00,0x12,0x17,0x00,0x14,0x0b,0x00,0x14,
|
||
0x18,0x00,0x15,0x0b,0x00,0x16,0x0b,0x00,
|
||
0x18,0x0b,0x00,0x65,0x0b,0x00,0x6c,0x0b,
|
||
0x09,0x0b,0x00,0x0b,0x0b,0x12,0x00,0x0b,
|
||
0x12,0x00,0x0b,0x14,0x00,0x0b,0x16,0x00,
|
||
0x0b,0x17,0x00,0x12,0x0b,0x00,0x12,0x0b,
|
||
0x0b,0x00,0x14,0x0b,0x18,0x00,0x14,0x0b,
|
||
0x18,0x16,0x00,0x14,0x18,0x00,0x14,0x18,
|
||
0x18,0x0b,0x00,0x16,0x0b,0x0b,0x0b,0x00,
|
||
0x18,0x0b,0x0b,0x0b,0x00,0x18,0x0b,0x14,
|
||
0x0b,0x00,0x19,0x0b,0x00,0x63,0x12,0x09,
|
||
0x14,0x65,0x18,0x00,0x63,0x12,0x09,0x14,
|
||
0x69,0x18,0x00,0x63,0x14,0x65,0x0b,0x00,
|
||
0x67,0x0b,0x6e,0x16,0x00,0x71,0x12,0x75,
|
||
0x0b,0x65,0x0b,0x00,0x74,0x14,0x69,0x18,
|
||
0x61,0x18,0x74,0x12,0x65,0x0b,0x00,0x74,
|
||
0x14,0x69,0x18,0x6f,0x18,0x75,0x0b,0x73,
|
||
0x14,0x00,0x78,0x12,0x0b,0x14,0x00,
|
||
};
|
||
|
||
char Engphpar[] = {
|
||
000,000,000,000,000,000,000,000,000,011,000,000,000,000,000,000,
|
||
045,000,023,023,023,023,023,023,011,055,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
011,011,011,011,011,011,011,011,011,011,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,023,045,045,045,023,023,045,034,023,045,045,077,045,045,023,
|
||
045,045,045,045,045,023,045,045,045,023,045,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,066,000,044,044,044,044,044,044,
|
||
066,044,000,044,044,044,044,044,066,044,044,000,044,044,044,044,
|
||
066,044,044,044,000,044,044,044,066,044,044,044,044,000,044,044,
|
||
066,044,044,044,044,044,000,044,066,044,044,044,044,044,044,000,
|
||
};
|
||
char Engphspar[] = {
|
||
000,000,000,000,000,000,000,000,000,011,000,000,000,000,000,000,
|
||
033,000,033,033,033,033,033,033,022,055,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
011,011,011,011,011,011,011,011,011,011,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,022,033,033,033,022,022,033,033,022,033,033,077,033,033,022,
|
||
033,033,033,033,033,022,033,033,033,022,033,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,
|
||
000,000,000,000,000,000,000,000,055,000,033,033,033,033,033,033,
|
||
055,033,000,033,033,033,033,033,055,033,033,000,033,033,033,033,
|
||
055,033,033,033,000,033,033,033,055,033,033,033,033,000,033,033,
|
||
055,033,033,033,033,033,000,033,055,033,033,033,033,033,033,000,
|
||
};
|