add Vietname VNI into WinFE ui. Thanks Van Le levan@hotmail.com from the net

This commit is contained in:
ftang%netscape.com 1998-08-18 19:03:36 +00:00
Родитель f8b7d0758d
Коммит 7b864aa029
6 изменённых файлов: 15 добавлений и 3 удалений

Просмотреть файл

@ -148,6 +148,7 @@ struct FontCharTable fontchar_tbl[] =
CS_VIET_VISCII, "ÁnhMinh 1.1", 12, "MinhQuân 1.1", 10, 163,163,
CS_VIET_VPS, "VPS Times", 12, "VPS Courier", 10, 163,163,
CS_VIET_TCVN, ".VNTime", 12, ".VNTime", 10, 163,163,
CS_VIET_VNI, "VNI-Times", 12, "VNI-Times", 10, 163,163,
CS_TIS620, "AngsanaUPC", 16, "CordiaUPC", 14, THAI_CHARSET, THAI_CHARSET,
CS_UTF8, DEF_PROPORTIONAL_FONT, 12, DEF_FIXED_FONT, 10, DEFAULT_CHARSET, DEFAULT_CHARSET,
CS_USER_DEFINED_ENCODING, DEF_PROPORTIONAL_FONT, 12, DEF_FIXED_FONT, 10, ANSI_CHARSET, ANSI_CHARSET,
@ -178,6 +179,7 @@ unsigned int lang_table[] =
IDS_LANGUAGE_VIETNAMESE_VISCII, CS_VIET_VISCII, CS_VIET_VISCII, CS_VIET_VPS, CS_VIET_TCVN, CS_VIET_VIQR, CS_VIET_VNI, 0,
IDS_LANGUAGE_VIETNAMESE_VPS, CS_VIET_VPS, CS_VIET_VPS, CS_VIET_VISCII, CS_VIET_TCVN, CS_VIET_VIQR, CS_VIET_VNI, 0,
IDS_LANGUAGE_VIETNAMESE_TCVN, CS_VIET_TCVN, CS_VIET_TCVN, CS_VIET_VISCII, CS_VIET_VPS, CS_VIET_VIQR, CS_VIET_VNI, 0,
IDS_LANGUAGE_VIETNAMESE_VNI, CS_VIET_VNI, CS_VIET_TCVN, CS_VIET_VISCII, CS_VIET_VPS, CS_VIET_VIQR, CS_VIET_VNI, 0,
IDS_LANGUAGE_THAI, CS_TIS620, CS_TIS620, 0,
IDS_LANGUAGE_UTF8, CS_UTF8, CS_UTF8, CS_UTF7, CS_UCS2, CS_UCS2_SWAP, 0,
IDS_LANGUAGE_USERDEFINED, CS_USER_DEFINED_ENCODING, CS_USER_DEFINED_ENCODING, 0,
@ -330,6 +332,7 @@ int CIntlFont::DocCSIDtoID(int doc_csid)
if (! ((def_doccsid == CS_VIET_VISCII) ||
(def_doccsid == CS_VIET_VPS) ||
(def_doccsid == CS_VIET_TCVN) ||
(def_doccsid == CS_VIET_VNI) ||
(def_doccsid == CS_VIET_VIQR)
)) {
def_doccsid = 0;

Просмотреть файл

@ -21,7 +21,7 @@
#define DEFAULT_WINCSID 0
#define MAXLANGNUM 17
#define MAXLANGNUM 18
class CyaFont;

Просмотреть файл

@ -3120,7 +3120,7 @@ BEGIN
IDS_LANGUAGE_VIETNAMESE_VISCII "Vietnamese (VISCII)"
IDS_LANGUAGE_VIETNAMESE_VPS "Vietnamese (VPS)"
IDS_LANGUAGE_VIETNAMESE_TCVN "Vietnamese (TCVN)"
IDS_LANGUAGE_USRDEF7 "User Defined 7"
IDS_LANGUAGE_VIETNAMESE_VNI "Vietnamese (VNI)"
END
STRINGTABLE DISCARDABLE

Просмотреть файл

@ -151,6 +151,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20
@ -428,6 +429,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20

Просмотреть файл

@ -426,6 +426,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20
@ -843,6 +844,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20
@ -981,6 +983,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20
@ -2313,6 +2316,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20
@ -2618,6 +2622,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20
@ -2923,6 +2928,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20
@ -3121,6 +3127,7 @@ BEGIN
MENUITEM "Vietnamese (VIQR)", ID_OPTIONS_ENCODING_26
MENUITEM "Vietnamese (VPS)", ID_OPTIONS_ENCODING_24
MENUITEM "Vietnamese (TCVN)", ID_OPTIONS_ENCODING_25
MENUITEM "Vietnamese (VNI)", ID_OPTIONS_ENCODING_27
MENUITEM SEPARATOR
MENUITEM "Unicode (UTF-8)", ID_OPTIONS_ENCODING_18
MENUITEM "Unicode (UTF-7)", ID_OPTIONS_ENCODING_20

Просмотреть файл

@ -3482,7 +3482,7 @@
#define IDS_LANGUAGE_VIETNAMESE_VISCII 62122
#define IDS_LANGUAGE_VIETNAMESE_VPS 62123
#define IDS_LANGUAGE_VIETNAMESE_TCVN 62124
#define IDS_LANGUAGE_USRDEF7 62125
#define IDS_LANGUAGE_VIETNAMESE_VNI 62125
#define IDS_LANGUAGE_LATIN1 62130
#define IDS_LANGUAGE_JAPANESE 62131
#define IDS_LANGUAGE_LATIN2 62132