00001 //======================================================================== 00002 // 00003 // CharTypes.h 00004 // 00005 // Copyright 2001-2003 Glyph & Cog, LLC 00006 // 00007 //======================================================================== 00008 00009 #ifndef CHARTYPES_H 00010 #define CHARTYPES_H 00011 00012 // Unicode character. 00013 typedef unsigned int Unicode; 00014 00015 // Character ID for CID character collections. 00016 typedef unsigned int CID; 00017 00018 // This is large enough to hold any of the following: 00019 // - 8-bit char code 00020 // - 16-bit CID 00021 // - Unicode 00022 typedef unsigned int CharCode; 00023 00024 #endif