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 __MARKTOMARKPOSITIONINGSUBTABLES_H
|
|
|
|
#define __MARKTOMARKPOSITIONINGSUBTABLES_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:44:45 +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 MarkToMarkPositioningSubtable : 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 findMark2Glyph(GlyphIterator *glyphIterator) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct Mark2Record
|
|
|
|
{
|
|
|
|
Offset mark2AnchorTableOffsetArray[ANY_NUMBER];
|
|
|
|
};
|
2013-04-18 21:24:51 +00:00
|
|
|
LE_VAR_ARRAY(Mark2Record, mark2AnchorTableOffsetArray)
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
struct Mark2Array
|
|
|
|
{
|
|
|
|
le_uint16 mark2RecordCount;
|
|
|
|
Mark2Record mark2RecordArray[ANY_NUMBER];
|
|
|
|
};
|
2013-04-18 21:24:51 +00:00
|
|
|
LE_VAR_ARRAY(Mark2Array, mark2RecordArray)
|
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
|
|
|
|
|