/***************************************************************************
*
-* Copyright (C) 1998-2008, International Business Machines
+* Copyright (C) 1998-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
************************************************************************/
le_uint32 length;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct DirectoryEntry DirectoryEntry;
#endif
DirectoryEntry tableDirectory[ANY_NUMBER];
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct SFNTDirectory SFNTDirectory;
#endif
le_uint32 encodingOffset;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct CMAPEncodingSubtableHeader CMAPEncodingSubtableHeader;
#endif
CMAPEncodingSubtableHeader encodingSubtableHeaders[ANY_NUMBER];
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct CMAPTable CMAPTable;
#endif
le_uint16 language;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct CMAPEncodingSubtable CMAPEncodingSubtable;
#endif
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
struct CMAPFormat0Encoding : CMAPEncodingSubtable
{
le_uint8 glyphIndexArray[256];
le_uint16 idRangeOffset;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct CMAPFormat2Subheader CMAPFormat2Subheader;
#endif
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
struct CMAPFormat2Encoding : CMAPEncodingSubtable
{
le_uint16 subHeadKeys[256];
typedef struct CMAPFormat2Encoding CMAPFormat2Encoding;
#endif
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
struct CMAPFormat4Encoding : CMAPEncodingSubtable
{
le_uint16 segCountX2;
typedef struct CMAPFormat4Encoding CMAPFormat4Encoding;
#endif
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
struct CMAPFormat6Encoding : CMAPEncodingSubtable
{
le_uint16 firstCode;
le_uint32 language;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct CMAPEncodingSubtable32 CMAPEncodingSubtable32;
#endif
le_uint32 startGlyphCode;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct CMAPGroup CMAPGroup;
#endif
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
struct CMAPFormat8Encoding : CMAPEncodingSubtable32
{
le_uint32 is32[65536/32];
typedef struct CMAPFormat8Encoding CMAPFormat8Encoding;
#endif
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
struct CMAPFormat10Encoding : CMAPEncodingSubtable32
{
le_uint32 startCharCode;
typedef struct CMAPFormat10Encoding CMAPFormat10Encoding;
#endif
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
struct CMAPFormat12Encoding : CMAPEncodingSubtable32
{
le_uint32 nGroups;
le_uint32 ad;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct BigDate BigDate;
#endif
le_int16 glyphDataFormat;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct HEADTable HEADTable;
#endif
le_uint16 maxComponentDepth;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct MAXPTable MAXPTable;
#endif
le_uint16 numOfLongHorMetrics;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct HHEATable HHEATable;
#endif
le_int16 leftSideBearing;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct LongHorMetric LongHorMetric;
#endif
/* le_int16 leftSideBearing[ANY_NUMBER]; ANY_NUMBER = numGlyphs - numOfLongHorMetrics */
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct HMTXTable HMTXTable;
#endif
le_uint16 offset;
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct NameRecord NameRecord;
#endif
NameRecord nameRecords[ANY_NUMBER];
};
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
typedef struct NAMETable NAMETable;
#endif