2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
* @(#)SubstitutionLookups.h 1.5 00/03/15
|
|
|
|
*
|
2003-06-03 20:58:22 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SUBSTITUTIONLOOKUPS_H
|
|
|
|
#define __SUBSTITUTIONLOOKUPS_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LEFontInstance.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "GlyphSubstitutionTables.h"
|
|
|
|
#include "GlyphIterator.h"
|
|
|
|
#include "LookupProcessor.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
struct SubstitutionLookupRecord
|
|
|
|
{
|
|
|
|
le_uint16 sequenceIndex;
|
|
|
|
le_uint16 lookupListIndex;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct SubstitutionLookup
|
|
|
|
{
|
|
|
|
static void applySubstitutionLookups(
|
|
|
|
LookupProcessor *lookupProcessor,
|
|
|
|
SubstitutionLookupRecord *substLookupRecordArray,
|
|
|
|
le_uint16 substCount,
|
|
|
|
GlyphIterator *glyphIterator,
|
2000-12-21 01:18:44 +00:00
|
|
|
const LEFontInstance *fontInstance,
|
2000-11-28 20:56:52 +00:00
|
|
|
le_int32 position);
|
|
|
|
};
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|
|
|
|
|