diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-11-23 13:59:09 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-11-23 13:59:09 +0000 |
commit | 416fb244aa3fb5b9bbf58e6a4c20ad3b0fe32cb7 (patch) | |
tree | 0d9220d40722c83255edf4490af45c79857ee81d /Build/source/texk/dvipdfm-x | |
parent | 7f28f838343191fbf6258e7be5ced1a42f24b8c7 (diff) |
Fix a bug which I introduced in MetaPost mode (-M option)
git-svn-id: svn://tug.org/texlive/trunk@32220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/mpost.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 3f174d1dc0e..1fd224e9f9e 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,5 +1,12 @@ 2013-11-23 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + * mpost.c: Fix a bug which I introduced in MetaPost mode (-M option). + Note that the definition of x, and y in + pdf_doc_begin_page (scale, x, y) is the negative of those in + pdf_doc_begin_grabbing (ident, x, y, ...). + +2013-11-23 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + * mpost.c: Set the origin at (llx, lly) to match the new xetex.def and dvipdfmx.def. diff --git a/Build/source/texk/dvipdfm-x/mpost.c b/Build/source/texk/dvipdfm-x/mpost.c index 9b12c8cf18a..81e6de112e4 100644 --- a/Build/source/texk/dvipdfm-x/mpost.c +++ b/Build/source/texk/dvipdfm-x/mpost.c @@ -1633,7 +1633,7 @@ mps_do_page (FILE *image_file) mp_cmode = MP_CMODE_MPOST; - pdf_doc_begin_page (1.0, Xorigin, Yorigin); /* scale, xorig, yorig */ + pdf_doc_begin_page (1.0, -Xorigin, -Yorigin); /* scale, xorig, yorig */ pdf_doc_set_mediabox(pdf_doc_current_page_number(), &bbox); dir_mode = pdf_dev_get_dirmode(); |