2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
*
|
2005-01-14 17:25:11 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2005 - 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 "GlyphPositioningTables.h"
|
2000-12-21 02:52:24 +00:00
|
|
|
#include "GlyphPosnLookupProc.h"
|
2005-01-14 17:25:11 +00:00
|
|
|
#include "CursiveAttachmentSubtables.h"
|
2004-04-12 18:51:31 +00:00
|
|
|
#include "LEGlyphStorage.h"
|
2005-01-14 17:25:11 +00:00
|
|
|
#include "GlyphPositionAdjustments.h"
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2005-01-14 17:25:11 +00:00
|
|
|
void GlyphPositioningTableHeader::process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments, le_bool rightToLeft,
|
2000-11-28 20:56:52 +00:00
|
|
|
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
|
|
|
|
2004-04-12 18:51:31 +00:00
|
|
|
processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance);
|
2005-01-14 17:25:11 +00:00
|
|
|
|
|
|
|
glyphPositionAdjustments->applyCursiveAdjustments(glyphStorage, rightToLeft, fontInstance);
|
2000-11-28 20:56:52 +00:00
|
|
|
}
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|