diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/bmpimage.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/bmpimage.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/bmpimage.c b/Build/source/texk/dvipdfm-x/bmpimage.c index 2e6de52dc2d..143713631a7 100644 --- a/Build/source/texk/dvipdfm-x/bmpimage.c +++ b/Build/source/texk/dvipdfm-x/bmpimage.c @@ -1,6 +1,6 @@ /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. - Copyright (C) 2002-2016 by Jin-Hwan Cho and Shunsaku Hirata, + Copyright (C) 2002-2018 by Jin-Hwan Cho and Shunsaku Hirata, the dvipdfmx project team. Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu> @@ -33,7 +33,8 @@ #include "error.h" #include "mem.h" -#include "dvipdfmx.h" /* only for "compat_mode" */ +#include "dpxconf.h" + #include "pdfobj.h" #include "bmpimage.h" @@ -87,7 +88,7 @@ check_for_bmp (FILE *fp) static void get_density (double *xdensity, double *ydensity, struct hdr_info *hdr) { - if (compat_mode) + if (dpx_conf.compat_mode == dpx_mode_compat_mode) *xdensity = *ydensity = 72.0 / 100.0; else if (hdr->x_pix_per_meter > 0 && hdr->y_pix_per_meter > 0) { /* 0 for undefined. FIXME */ *xdensity = 72.0 / (hdr->x_pix_per_meter * 0.0254); |