2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
*
|
2013-04-18 21:24:51 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MARKTOBASEPOSITIONINGSUBTABLES_H
|
|
|
|
#define __MARKTOBASEPOSITIONINGSUBTABLES_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LEFontInstance.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "GlyphPositioningTables.h"
|
2000-12-21 02:52:24 +00:00
|
|
|
#include "AttachmentPosnSubtables.h"
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "GlyphIterator.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
struct MarkToBasePositioningSubtable : AttachmentPositioningSubtable
|
|
|
|
{
|
2013-04-18 21:24:51 +00:00
|
|
|
le_int32 process(const LETableReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
|
2001-01-19 00:30:17 +00:00
|
|
|
LEGlyphID findBaseGlyph(GlyphIterator *glyphIterator) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct BaseRecord
|
|
|
|
{
|
|
|
|
Offset baseAnchorTableOffsetArray[ANY_NUMBER];
|
|
|
|
};
|
2013-04-18 21:24:51 +00:00
|
|
|
LE_VAR_ARRAY(BaseRecord, baseAnchorTableOffsetArray)
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
struct BaseArray
|
|
|
|
{
|
|
|
|
le_int16 baseRecordCount;
|
|
|
|
BaseRecord baseRecordArray[ANY_NUMBER];
|
|
|
|
};
|
2013-04-18 21:24:51 +00:00
|
|
|
LE_VAR_ARRAY(BaseArray, baseRecordArray)
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|
|
|
|
|