15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 /*
27 *
28 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
29 *
30 */
31
32 #ifndef __MARKTOMARKPOSITIONINGSUBTABLES_H
33 #define __MARKTOMARKPOSITIONINGSUBTABLES_H
34
35 #include "LETypes.h"
36 #include "LEFontInstance.h"
37 #include "OpenTypeTables.h"
38 #include "GlyphPositioningTables.h"
39 #include "AttachmentPosnSubtables.h"
40 #include "GlyphIterator.h"
41
42 struct MarkToMarkPositioningSubtable : AttachmentPositioningSubtable
43 {
44 le_int32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
45 LEGlyphID findMark2Glyph(GlyphIterator *glyphIterator) const;
46 };
47
48 struct Mark2Record
49 {
50 Offset mark2AnchorTableOffsetArray[ANY_NUMBER];
51 };
52
53 struct Mark2Array
54 {
55 le_uint16 mark2RecordCount;
56 Mark2Record mark2RecordArray[ANY_NUMBER];
57 };
58
59 #endif
|
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 /*
27 *
28 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
29 *
30 */
31
32 #ifndef __MARKTOMARKPOSITIONINGSUBTABLES_H
33 #define __MARKTOMARKPOSITIONINGSUBTABLES_H
34
35 /**
36 * \file
37 * \internal
38 */
39
40 #include "LETypes.h"
41 #include "LEFontInstance.h"
42 #include "OpenTypeTables.h"
43 #include "GlyphPositioningTables.h"
44 #include "AttachmentPosnSubtables.h"
45 #include "GlyphIterator.h"
46
47 U_NAMESPACE_BEGIN
48
49 struct MarkToMarkPositioningSubtable : AttachmentPositioningSubtable
50 {
51 le_int32 process(const LETableReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
52 LEGlyphID findMark2Glyph(GlyphIterator *glyphIterator) const;
53 };
54
55 struct Mark2Record
56 {
57 Offset mark2AnchorTableOffsetArray[ANY_NUMBER];
58 };
59 LE_VAR_ARRAY(Mark2Record, mark2AnchorTableOffsetArray)
60
61 struct Mark2Array
62 {
63 le_uint16 mark2RecordCount;
64 Mark2Record mark2RecordArray[ANY_NUMBER];
65 };
66 LE_VAR_ARRAY(Mark2Array, mark2RecordArray)
67
68 U_NAMESPACE_END
69 #endif
70
|