diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-07-29 07:55:46 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-07-29 07:55:46 +0000 |
commit | 27fc7a0d25846cf7130d8e787cbc3b73e86b5458 (patch) | |
tree | 9a04cc8e8a613fc04960b99e59193fbdc72397ab /Build/source/texk/dvipdfm-x/pdfdev.c | |
parent | 040e9946c2e0735e6dddc49306d1b0c843828eff (diff) |
texk/dvipdfm-x: Make dvipdfmx and xdvipdfmx essentially the same
git-svn-id: svn://tug.org/texlive/trunk@37988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfdev.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfdev.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdev.c b/Build/source/texk/dvipdfm-x/pdfdev.c index 713e1a1b480..8091ccff468 100644 --- a/Build/source/texk/dvipdfm-x/pdfdev.c +++ b/Build/source/texk/dvipdfm-x/pdfdev.c @@ -1045,11 +1045,7 @@ handle_multibyte_string (struct dev_font *font, * encoding. * TODO: A character decomposed to multiple characters. */ -#ifdef XETEX if (ctype != -1 && font->enc_id >= 0) { -#else - if (font->enc_id >= 0) { -#endif const unsigned char *inbuf; unsigned char *outbuf; long inbytesleft, outbytesleft; @@ -1109,9 +1105,8 @@ void pdf_dev_pop_coord(void) /* * ctype: -#ifdef XETEX * -1 input string contains 2-byte Freetype glyph index values -#endif + * (XeTeX only) * 0 byte-width of char can be variable and input string * is properly encoded. * n Single character cosumes n bytes in input string. @@ -1891,7 +1886,6 @@ pdf_dev_put_image (int id, res_name, pdf_ximage_get_reference(id)); -#ifdef XETEX if (dvi_is_tracking_boxes()) { pdf_tmatrix P; int i; @@ -1932,7 +1926,6 @@ pdf_dev_put_image (int id, pdf_doc_expand_box(&rect); } -#endif return 0; } |