summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-03-14 14:12:27 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2013-03-14 14:12:27 +0000
commit820fb90d5333ddc0e7eb2cf2e364f926481d31e3 (patch)
treea918ffe1589f78caa25665b91519de69dfea306e /Build/source
parent66ba234adf77f81ed287cff6e0cb15d61c0a3716 (diff)
Minor
git-svn-id: svn://tug.org/texlive/trunk@29385 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/xdvipdfmx/src/dvi.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/dvi.c b/Build/source/texk/xdvipdfmx/src/dvi.c
index 93efaa0f710..4025c9793d9 100644
--- a/Build/source/texk/xdvipdfmx/src/dvi.c
+++ b/Build/source/texk/xdvipdfmx/src/dvi.c
@@ -661,30 +661,26 @@ read_native_font_record (SIGNED_QUAD tex_id)
def_fonts[num_def_fonts].used = 0;
def_fonts[num_def_fonts].native = 1;
+ def_fonts[num_def_fonts].layout_dir = 0;
+ def_fonts[num_def_fonts].rgba_color = 0xffffffff;
+ def_fonts[num_def_fonts].extend = 0x00010000;
+ def_fonts[num_def_fonts].slant = 0;
+ def_fonts[num_def_fonts].embolden = 0;
+
if (flags & XDV_FLAG_VERTICAL)
def_fonts[num_def_fonts].layout_dir = 1;
- else
- def_fonts[num_def_fonts].layout_dir = 0;
if (flags & XDV_FLAG_COLORED)
def_fonts[num_def_fonts].rgba_color = get_unsigned_quad(dvi_file);
- else
- def_fonts[num_def_fonts].rgba_color = 0xffffffff;
if (flags & XDV_FLAG_EXTEND)
def_fonts[num_def_fonts].extend = get_signed_quad(dvi_file);
- else
- def_fonts[num_def_fonts].extend = 0x00010000;
if (flags & XDV_FLAG_SLANT)
def_fonts[num_def_fonts].slant = get_signed_quad(dvi_file);
- else
- def_fonts[num_def_fonts].slant = 0;
if (flags & XDV_FLAG_EMBOLDEN)
def_fonts[num_def_fonts].embolden = get_signed_quad(dvi_file);
- else
- def_fonts[num_def_fonts].embolden = 0;
if (flags & XDV_FLAG_VARIATIONS) {
int v, nvars = get_unsigned_pair(dvi_file);