2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
*
|
2004-04-12 18:51:31 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LEGlyphFilter.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "Lookups.h"
|
|
|
|
#include "GlyphDefinitionTables.h"
|
|
|
|
#include "GlyphPositionAdjustments.h"
|
|
|
|
#include "GlyphSubstitutionTables.h"
|
2000-12-21 02:52:24 +00:00
|
|
|
#include "GlyphSubstLookupProc.h"
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "ScriptAndLanguage.h"
|
2004-04-12 18:51:31 +00:00
|
|
|
#include "LEGlyphStorage.h"
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LESwaps.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2004-04-12 18:51:31 +00:00
|
|
|
le_int32 GlyphSubstitutionTableHeader::process(LEGlyphStorage &glyphStorage, le_bool rightToLeft, LETag scriptTag, LETag languageTag,
|
2001-01-19 00:30:17 +00:00
|
|
|
const GlyphDefinitionTableHeader *glyphDefinitionTableHeader,
|
2002-03-01 22:24:10 +00:00
|
|
|
const LEGlyphFilter *filter, const LETag *featureOrder) const
|
2000-11-28 20:56:52 +00:00
|
|
|
{
|
2002-03-01 22:24:10 +00:00
|
|
|
GlyphSubstitutionLookupProcessor processor(this, scriptTag, languageTag, filter, featureOrder);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2004-04-12 18:51:31 +00:00
|
|
|
return processor.process(glyphStorage, NULL, rightToLeft, glyphDefinitionTableHeader, NULL);
|
2000-11-28 20:56:52 +00:00
|
|
|
}
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|