3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
7 #ifndef __SCRIPTANDLANGUAGE_H
8 #define __SCRIPTANDLANGUAGE_H
16 #include "OpenTypeTables.h"
20 typedef TagAndOffsetRecord LangSysRecord
;
24 Offset lookupOrderOffset
;
25 le_uint16 reqFeatureIndex
;
26 le_uint16 featureCount
;
27 le_uint16 featureIndexArray
[ANY_NUMBER
];
32 Offset defaultLangSysTableOffset
;
33 le_uint16 langSysCount
;
34 LangSysRecord langSysRecordArray
[ANY_NUMBER
];
36 const LangSysTable
*findLanguage(LETag languageTag
, le_bool exactMatch
= FALSE
) const;
39 typedef TagAndOffsetRecord ScriptRecord
;
41 struct ScriptListTable
43 le_uint16 scriptCount
;
44 ScriptRecord scriptRecordArray
[ANY_NUMBER
];
46 const ScriptTable
*findScript(LETag scriptTag
) const;
47 const LangSysTable
*findLanguage(LETag scriptTag
, LETag languageTag
, le_bool exactMatch
= FALSE
) const;