From 820fb90d5333ddc0e7eb2cf2e364f926481d31e3 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 14 Mar 2013 14:12:27 +0000 Subject: Minor git-svn-id: svn://tug.org/texlive/trunk@29385 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/xdvipdfmx/src/dvi.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'Build/source/texk') 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); -- cgit v1.2.3