2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
* @(#)Features.h 1.4 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 __FEATURES_H
|
|
|
|
#define __FEATURES_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"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
struct FeatureRecord
|
|
|
|
{
|
2002-04-02 03:41:50 +00:00
|
|
|
ATag featureTag;
|
|
|
|
Offset featureTableOffset;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct FeatureTable
|
|
|
|
{
|
2002-04-02 03:41:50 +00:00
|
|
|
Offset featureParamsOffset;
|
|
|
|
le_uint16 lookupCount;
|
|
|
|
le_uint16 lookupListIndexArray[ANY_NUMBER];
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct FeatureListTable
|
|
|
|
{
|
2002-04-02 03:41:50 +00:00
|
|
|
le_uint16 featureCount;
|
|
|
|
FeatureRecord featureRecordArray[ANY_NUMBER];
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
const FeatureTable *getFeatureTable(le_uint16 featureIndex, LETag *featureTag) const;
|
2002-03-01 22:24:10 +00:00
|
|
|
|
|
|
|
const FeatureTable *getFeatureTable(LETag featureTag) 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
|