summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/tt_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/tt_table.h')
-rw-r--r--Build/source/texk/xdvipdfmx/src/tt_table.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/tt_table.h b/Build/source/texk/xdvipdfmx/src/tt_table.h
index 6bc73ca6808..30679a78a56 100644
--- a/Build/source/texk/xdvipdfmx/src/tt_table.h
+++ b/Build/source/texk/xdvipdfmx/src/tt_table.h
@@ -1,4 +1,4 @@
-/* $Header: /home/cvsroot/dvipdfmx/src/tt_table.h,v 1.6 2004/09/11 14:50:29 hirata Exp $
+/* $Header: /home/cvsroot/dvipdfmx/src/tt_table.h,v 1.7 2007/02/14 05:56:43 chofchof Exp $
This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
@@ -51,18 +51,20 @@ struct tt_head_table
struct tt_hhea_table
{
Fixed version;
- FWord Ascender;
- FWord Descender;
- FWord LineGap;
+ FWord ascent;
+ FWord descent;
+ FWord lineGap;
uFWord advanceWidthMax;
FWord minLeftSideBearing;
FWord minRightSideBearing;
FWord xMaxExtent;
SHORT caretSlopeRise;
SHORT caretSlopeRun;
- SHORT reserved[5]; /* set to 0 */
+ FWord caretOffset;
+ SHORT reserved[4]; /* set to 0 */
SHORT metricDataFormat;
- USHORT numberOfHMetrics;
+ USHORT numOfLongHorMetrics;
+ USHORT numOfExSideBearings; /* extra information */
};
struct tt_vhea_table
@@ -78,8 +80,10 @@ struct tt_vhea_table
SHORT caretSlopeRise;
SHORT caretSlopeRun;
SHORT caretOffset;
- SHORT reserved[5]; /* set to 0 */
+ SHORT reserved[4]; /* set to 0 */
+ SHORT metricDataFormat;
USHORT numOfLongVerMetrics;
+ USHORT numOfExSideBearings; /* extra information */
};
struct tt_maxp_table
@@ -179,7 +183,7 @@ extern struct tt_VORG_table *tt_read_VORG_table (sfnt *sfont);
/* hmtx and vmtx */
extern struct tt_longMetrics *tt_read_longMetrics (sfnt *sfont,
- USHORT numGlyphs, USHORT numLongMetrics);
+ USHORT numGlyphs, USHORT numLongMetrics, USHORT numExSideBearings);
/* OS/2 table */
extern struct tt_os2__table *tt_read_os2__table (sfnt *sfont);