/* ===EmacsMode: -*- Mode: C; tab-width:4; c-basic-offset: 4; -*- === */ /* ===FileName: === Copyright (c) 1999 Takuya SHIOZAKI, All Rights reserved. Copyright (c) 1999 X-TrueType Server Project, All rights reserved. Copyright (c) 1999 Pablo Saratxaga ===Notice Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Major Release ID: X-TrueType Server Version 1.3 [Aoi MATSUBARA Release 3] Notice=== -georgian-academy is the encoding used by academic world and university of Georgia; also known as "de facto RS encoding", widely used on web servers; it follows same ordering as unicode. -georgian-ps is the "Parliament-Soros found" encoding. */ #include "xttversion.h" static char const * const releaseID = _XTT_RELEASE_NAME; #include "xttcommon.h" #include "xttcap.h" #include "xttcconv.h" #include "xttcconvP.h" typedef enum { GEORGIAN_RS, GEORGIAN_STD } CharSetMagic; static CharSetRelation const charSetRelations[] = { { "georgian", NULL, "academy", GEORGIAN_RS, { 0x00, 0xff, 0, 0, 0x20 } }, { "georgian", NULL, "ps", GEORGIAN_STD, { 0x00, 0xff, 0, 0, 0x20 } }, { NULL, NULL, NULL, 0, { 0, 0, 0, 0, 0 } } }; CODECONV_TEMPLATE(cc_georgian_rs_to_ucs2); CODECONV_TEMPLATE(cc_georgian_std_to_ucs2); static MapIDRelation const mapIDRelations[] = { { GEORGIAN_RS, EPlfmISO, EEncISO10646, cc_georgian_rs_to_ucs2, NULL }, { GEORGIAN_RS, EPlfmUnicode, EEncAny, cc_georgian_rs_to_ucs2, NULL }, { GEORGIAN_RS, EPlfmMS, EEncMSUnicode, cc_georgian_rs_to_ucs2, NULL }, { GEORGIAN_STD, EPlfmISO, EEncISO10646, cc_georgian_std_to_ucs2, NULL }, { GEORGIAN_STD, EPlfmUnicode, EEncAny, cc_georgian_std_to_ucs2, NULL }, { GEORGIAN_STD, EPlfmMS, EEncMSUnicode, cc_georgian_std_to_ucs2, NULL }, { -1, 0, 0, NULL, NULL } }; STD_ENTRYFUNC_TEMPLATE(GEORGIAN_entrypoint) /* end of file */