2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
* @(#)GlyphPositioningTables.cpp 1.7 00/03/15
|
|
|
|
*
|
2001-01-19 00:30:17 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LEFontInstance.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "Lookups.h"
|
|
|
|
#include "GlyphDefinitionTables.h"
|
|
|
|
#include "GlyphPositionAdjustments.h"
|
|
|
|
#include "GlyphPositioningTables.h"
|
2000-12-21 02:52:24 +00:00
|
|
|
#include "GlyphPosnLookupProc.h"
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
void GlyphPositioningTableHeader::process(LEGlyphID *glyphs, GlyphPositionAdjustment *glyphPositionAdjustments,
|
|
|
|
const LETag **glyphTags, le_int32 glyphCount, 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 LEFontInstance *fontInstance, const LETag *featureOrder) const
|
2000-11-28 20:56:52 +00:00
|
|
|
{
|
2002-03-01 22:24:10 +00:00
|
|
|
GlyphPositioningLookupProcessor processor(this, scriptTag, languageTag, featureOrder);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
processor.process(glyphs, glyphPositionAdjustments, glyphTags, glyphCount, rightToLeft,
|
|
|
|
glyphDefinitionTableHeader, fontInstance);
|
|
|
|
}
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|