00001 /* 00002 * @(#)SubstitutionLookups.h 1.5 00/03/15 00003 * 00004 * (C) Copyright IBM Corp. 1998, 1999, 2000 - All Rights Reserved 00005 * 00006 */ 00007 00008 #ifndef __SUBSTITUTIONLOOKUPS_H 00009 #define __SUBSTITUTIONLOOKUPS_H 00010 00011 #include "LETypes.h" 00012 #include "LEFontInstance.h" 00013 #include "OpenTypeTables.h" 00014 #include "GlyphSubstitutionTables.h" 00015 #include "GlyphIterator.h" 00016 #include "LookupProcessor.h" 00017 00018 struct SubstitutionLookupRecord 00019 { 00020 le_uint16 sequenceIndex; 00021 le_uint16 lookupListIndex; 00022 }; 00023 00024 struct SubstitutionLookup 00025 { 00026 static void applySubstitutionLookups( 00027 LookupProcessor *lookupProcessor, 00028 SubstitutionLookupRecord *substLookupRecordArray, 00029 le_uint16 substCount, 00030 GlyphIterator *glyphIterator, 00031 LEFontInstance *fontInstance, 00032 le_int32 position); 00033 }; 00034 00035 #endif 00036