/**********************************************************************
 
	Copyright (C) 2003 -
	Hirohisa MORI <joshua@nichibun.ac.jp>
	Tomoki SEKIYAMA <sekiyama@yahoo.co.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	This program is distributed in the hope that it will be 
	useful, but WITHOUT ANY WARRANTY; without even the 
	implied warranty of MERCHANTABILITY or FITNESS FOR A 
	PARTICULAR PURPOSE.

**********************************************************************/

#include	"encoding_tables.h"



CODE_SCRIPT_TABLE mac_script_tbl[] = {
  {smRoman,
  	{LCZ_1BC_MAC_ROMAN,	LCC_ERROR},
  	{LCZM_1B_TYPE,		LCZM_ALL},
  	0,0xff},
  {smJapanese,
  	{LCZ_2BC_MAC_JAPANESE,	LCC_ERROR},
  	{LCZM_2B_TYPE,		LCZM_ALL},
  	0,0xffff},
  {smTradChinese,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smKorean,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smArabic,
  	{LCZ_1BC_MAC_ARABIC_LR,	LCZ_1BC_MAC_ARABIC_RL},
  	{LCZM_1B_TYPE,		LCZM_1B_TYPE},
  	0,0xff},
  {smHebrew,
  	{LCZ_1BC_MAC_HEBREW_LR,	LCZ_1BC_MAC_HEBREW_RL},
  	{LCZM_1B_TYPE,		LCZM_1B_TYPE},
  	0,0xff},
  {smGreek,
  	{LCZ_1BC_MAC_GREEK,	LCC_ERROR},
  	{LCZM_1B_TYPE,		LCZM_ALL},
  	0,0xff},
  {smCyrillic,
  	{LCZ_1BC_MAC_CYRILLIC,	LCC_ERROR},
  	{LCZM_1B_TYPE,		LCZM_ALL},
  	0,0xff},
  {smRSymbol,
  	{LCZ_1BC_MAC_SYMBOL,	LCC_ERROR},
  	{LCZM_1B_TYPE,		LCZM_ALL},
  	0,0xff},
  {smDevanagari,
  	{LCZ_1BC_MAC_DEVANAGA,	LCZ_1BC_MAC_DEVANAGA_CN},
  	{LCZM_1B_TYPE,		LCZM_1B_TYPE},
  	0,0xff},
  {smGurmukhi,
  	{LCZ_1BC_MAC_GURMUKHI,	LCZ_1BC_MAC_GURMUKHI_CN},
  	{LCZM_1B_TYPE,		LCZM_1B_TYPE},
  	0,0xff},
  {smGujarati,
  	{LCZ_1BC_MAC_GUJARATI,	LCZ_1BC_MAC_GUJARATI_CN},
  	{LCZM_1B_TYPE,		LCZM_1B_TYPE},
  	0,0xff},
  {smOriya,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smBengali,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smTamil,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smTelugu,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smKannada,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smMalayalam,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smSinhalese,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smBurmese,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smKhmer,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smThai,
  	{LCZ_1BC_MAC_THAI,	LCC_ERROR},
  	{LCZM_1B_TYPE,		LCZM_ALL},
  	0,0xff},
  {smLao,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smGeorgian,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smArmenian,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smSimpChinese,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smTibetan,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smMongolian,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smEthiopic,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smGeez,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smCentralEuroRoman,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smVietnamese,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smExtArabic,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smUninterp,
  	{LCC_ERROR,		LCC_ERROR},
  	{LCZM_ALL,		LCZM_ALL},
  	0,0xff},
  {smUnicodeScript,
  	{0,			LCC_ERROR},
  	{LCZM_2B_TYPE,		LCZM_ALL},
  	0,0xffff},
  {-1,{0,0},{0,0},0,0}
};

