]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/GlyphPositioningTables.cpp
ICU-400.42.tar.gz
[apple/icu.git] / icuSources / layout / GlyphPositioningTables.cpp
CommitLineData
b75a7d8f 1/*
73c04bcf 2 * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
b75a7d8f
A
3 *
4 */
5
6#include "LETypes.h"
7#include "LEFontInstance.h"
8#include "OpenTypeTables.h"
9#include "Lookups.h"
10#include "GlyphDefinitionTables.h"
b75a7d8f
A
11#include "GlyphPositioningTables.h"
12#include "GlyphPosnLookupProc.h"
73c04bcf 13#include "CursiveAttachmentSubtables.h"
374ca955 14#include "LEGlyphStorage.h"
73c04bcf 15#include "GlyphPositionAdjustments.h"
b75a7d8f
A
16
17U_NAMESPACE_BEGIN
18
73c04bcf 19void GlyphPositioningTableHeader::process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments, le_bool rightToLeft,
b75a7d8f
A
20 LETag scriptTag, LETag languageTag,
21 const GlyphDefinitionTableHeader *glyphDefinitionTableHeader,
73c04bcf 22 const LEFontInstance *fontInstance, const FeatureMap *featureMap, le_int32 featureMapCount, le_bool featureOrder) const
b75a7d8f 23{
73c04bcf 24 GlyphPositioningLookupProcessor processor(this, scriptTag, languageTag, featureMap, featureMapCount, featureOrder);
b75a7d8f 25
374ca955 26 processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance);
73c04bcf
A
27
28 glyphPositionAdjustments->applyCursiveAdjustments(glyphStorage, rightToLeft, fontInstance);
b75a7d8f
A
29}
30
31U_NAMESPACE_END