• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *
3  * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
4  *
5  */
6 
7 #ifndef __MARKTOBASEPOSITIONINGSUBTABLES_H
8 #define __MARKTOBASEPOSITIONINGSUBTABLES_H
9 
10 /**
11  * \file
12  * \internal
13  */
14 
15 #include "LETypes.h"
16 #include "LEFontInstance.h"
17 #include "OpenTypeTables.h"
18 #include "GlyphPositioningTables.h"
19 #include "AttachmentPosnSubtables.h"
20 #include "GlyphIterator.h"
21 
22 U_NAMESPACE_BEGIN
23 
24 struct MarkToBasePositioningSubtable : AttachmentPositioningSubtable
25 {
26   le_int32   process(const LETableReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
27     LEGlyphID  findBaseGlyph(GlyphIterator *glyphIterator) const;
28 };
29 
30 struct BaseRecord
31 {
32     Offset baseAnchorTableOffsetArray[ANY_NUMBER];
33 };
34 LE_VAR_ARRAY(BaseRecord, baseAnchorTableOffsetArray)
35 
36 struct BaseArray
37 {
38     le_int16 baseRecordCount;
39     BaseRecord baseRecordArray[ANY_NUMBER];
40 };
41 LE_VAR_ARRAY(BaseArray, baseRecordArray)
42 
43 U_NAMESPACE_END
44 #endif
45 
46