summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2015-02-21 15:05:31 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2015-02-21 15:05:31 +0000
commit14be0adadc0c01159c451081f93afb136b2d4ab6 (patch)
treef6d3edc187120fd55004f638963b70d64ce5cff9 /Build
parentf68a81cce3808ca1535ff960160cf6f09cb75707 (diff)
Just used standard types
git-svn-id: svn://tug.org/texlive/trunk@36335 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipdfm-x/dvi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c
index 2d201afce27..19817d0a3f0 100644
--- a/Build/source/texk/dvipdfm-x/dvi.c
+++ b/Build/source/texk/dvipdfm-x/dvi.c
@@ -143,10 +143,10 @@ static struct loaded_font
#ifdef XETEX
uint32_t rgba_color;
struct tt_longMetrics *hvmt;
- FWord ascent;
- FWord descent;
- USHORT unitsPerEm;
- USHORT numGlyphs;
+ int ascent;
+ int descent;
+ unsigned unitsPerEm;
+ unsigned numGlyphs;
int layout_dir;
float extend;
float slant;
@@ -1598,7 +1598,7 @@ do_glyphs (void)
for (i = 0; i < slen; i++) {
glyph_id = get_buffered_unsigned_pair(); /* freetype glyph index */
if (glyph_id < font->numGlyphs) {
- USHORT advance = (font->hvmt)[glyph_id].advance;
+ unsigned advance = (font->hvmt)[glyph_id].advance;
glyph_width = (double)font->size * (double)advance / (double)font->unitsPerEm;
glyph_width = glyph_width * font->extend;