2000-11-28 20:56:52 +00:00
|
|
|
/*
|
2008-10-28 14:50:15 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GLYPHPOSITIONINGTABLES_H
|
|
|
|
#define __GLYPHPOSITIONINGTABLES_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "Lookups.h"
|
2004-02-14 01:09:08 +00:00
|
|
|
#include "GlyphLookupTables.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
|
|
|
class LEFontInstance;
|
|
|
|
class LEGlyphStorage;
|
|
|
|
class LEGlyphFilter;
|
|
|
|
class GlyphPositionAdjustments;
|
|
|
|
struct GlyphDefinitionTableHeader;
|
2004-04-12 18:51:31 +00:00
|
|
|
|
2004-02-14 01:09:08 +00:00
|
|
|
struct GlyphPositioningTableHeader : public GlyphLookupTableHeader
|
2000-11-28 20:56:52 +00:00
|
|
|
{
|
2005-01-14 17:25:11 +00:00
|
|
|
void process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments,
|
2004-05-07 23:29:16 +00:00
|
|
|
le_bool rightToLeft, LETag scriptTag, LETag languageTag,
|
2008-10-28 14:50:15 +00:00
|
|
|
const GlyphDefinitionTableHeader *glyphDefinitionTableHeader, LEErrorCode &success,
|
2005-08-06 00:48:27 +00:00
|
|
|
const LEFontInstance *fontInstance, const FeatureMap *featureMap, le_int32 featureMapCount, le_bool featureOrder) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enum GlyphPositioningSubtableTypes
|
|
|
|
{
|
|
|
|
gpstSingle = 1,
|
|
|
|
gpstPair = 2,
|
|
|
|
gpstCursive = 3,
|
|
|
|
gpstMarkToBase = 4,
|
|
|
|
gpstMarkToLigature = 5,
|
|
|
|
gpstMarkToMark = 6,
|
|
|
|
gpstContext = 7,
|
2002-12-30 19:53:40 +00:00
|
|
|
gpstChainedContext = 8,
|
|
|
|
gpstExtension = 9
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef LookupSubtable GlyphPositioningSubtable;
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|