2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
* @(#)GlyphPositioningTables.cpp 1.7 00/03/15
|
|
|
|
*
|
2003-12-19 22:18:26 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2003 - 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);
|
2003-09-24 21:05:40 +00:00
|
|
|
le_int32 *charIndices = NULL;
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2003-09-24 21:05:40 +00:00
|
|
|
processor.process(glyphs, glyphPositionAdjustments, glyphTags, charIndices, glyphCount, rightToLeft,
|
2000-11-28 20:56:52 +00:00
|
|
|
glyphDefinitionTableHeader, fontInstance);
|
|
|
|
}
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|