summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog5
-rw-r--r--Build/source/texk/dvipdfm-x/dvi.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 601e3f55dcd..223e88715c2 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-02 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
+
+ * dvi.c: Initialize direction mode in clear_state(). See
+ https://github.com/texjporg/tex-jp-build/issues/30
+
2017-09-18 Shunsaku Hirata <shunsaku.hirata74@gmail.com>
* tt_gsub.c: Fixed a bug that only last specified OTL GSUB
diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c
index 29b07a67a3c..3d7d94f42ed 100644
--- a/Build/source/texk/dvipdfm-x/dvi.c
+++ b/Build/source/texk/dvipdfm-x/dvi.c
@@ -705,6 +705,7 @@ clear_state (void)
dvi_state.h = 0; dvi_state.v = 0; dvi_state.w = 0;
dvi_state.x = 0; dvi_state.y = 0; dvi_state.z = 0;
dvi_state.d = 0; /* direction */
+ pdf_dev_set_dirmode(0);
dvi_stack_depth = 0;
current_font = -1;
}