summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/mpost.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/mpost.c')
-rw-r--r--Build/source/texk/dvipdfm-x/mpost.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/mpost.c b/Build/source/texk/dvipdfm-x/mpost.c
index 33b12f6f9af..b38c44b9fcf 100644
--- a/Build/source/texk/dvipdfm-x/mpost.c
+++ b/Build/source/texk/dvipdfm-x/mpost.c
@@ -1,6 +1,6 @@
/* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
- Copyright (C) 2007-2016 by Jin-Hwan Cho and Shunsaku Hirata,
+ Copyright (C) 2007-2018 by Jin-Hwan Cho and Shunsaku Hirata,
the dvipdfmx project team.
Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu>
@@ -33,6 +33,7 @@
#include "error.h"
#include "mfileio.h"
#include "numbers.h"
+#include "dpxconf.h"
#include "tfm.h"
@@ -58,6 +59,12 @@
*/
static double Xorigin, Yorigin;
+static int translate_origin = 0;
+
+void
+mps_set_translate_origin (int v) {
+ translate_origin = v;
+}
/*
* In PDF, current path is not a part of graphics state parameter.