summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-10-02 11:31:07 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-10-02 11:31:07 +0000
commit3bb038ffb3dccb8c6562bf33bfd0044ae6e02df1 (patch)
tree170ffa15404def2fba46ffc739de4091ad17b520 /Build
parent7c2283ba3afd3bbc2e39bd286b9175a9a54325e9 (diff)
dvipdfm-x: Initialize direction mode (H. Kitagawa)
git-svn-id: svn://tug.org/texlive/trunk@45449 c570f23f-e606-0410-a88d-b1316a301751
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;
}