2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
* @(#)SinglePositioningSubtables.h 1.6 00/03/15
|
|
|
|
*
|
2001-01-19 00:30:17 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SINGLEPOSITIONINGSUBTABLES_H
|
|
|
|
#define __SINGLEPOSITIONINGSUBTABLES_H
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LEFontInstance.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "GlyphPositioningTables.h"
|
|
|
|
#include "ValueRecords.h"
|
|
|
|
#include "GlyphIterator.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
struct SinglePositioningSubtable : GlyphPositioningSubtable
|
|
|
|
{
|
2001-01-19 00:30:17 +00:00
|
|
|
le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct SinglePositioningFormat1Subtable : SinglePositioningSubtable
|
|
|
|
{
|
|
|
|
ValueFormat valueFormat;
|
|
|
|
ValueRecord valueRecord;
|
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct SinglePositioningFormat2Subtable : SinglePositioningSubtable
|
|
|
|
{
|
|
|
|
ValueFormat valueFormat;
|
2001-01-19 00:30:17 +00:00
|
|
|
le_uint16 valueCount;
|
2000-11-28 20:56:52 +00:00
|
|
|
ValueRecord valueRecordArray[ANY_NUMBER];
|
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
|
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
|
|
|
|
|
|
|
|
|