2000-11-28 20:56:52 +00:00
|
|
|
/*
|
2000-12-21 02:44:45 +00:00
|
|
|
* @(#)AlternateSubstSubtables.h 1.6 00/03/15
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
* (C) Copyright IBM Corp. 1998, 1999, 2000 - All Rights Reserved
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ALTERNATESUBSTITUTIONSUBTABLES_H
|
|
|
|
#define __ALTERNATESUBSTITUTIONSUBTABLES_H
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LEGlyphFilter.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "GlyphSubstitutionTables.h"
|
|
|
|
#include "GlyphIterator.h"
|
|
|
|
|
|
|
|
struct AlternateSetTable
|
|
|
|
{
|
|
|
|
le_uint16 glyphCount;
|
|
|
|
LEGlyphID alternateArray[ANY_NUMBER];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct AlternateSubstitutionSubtable : GlyphSubstitutionSubtable
|
|
|
|
{
|
|
|
|
le_uint16 alternateSetCount;
|
|
|
|
Offset alternateSetTableOffsetArray[ANY_NUMBER];
|
|
|
|
|
|
|
|
le_uint32 process(GlyphIterator *glyphIterator, LEGlyphFilter *filter = NULL);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|