diff options
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/jpegimage.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/jpegimage.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfmx/src/jpegimage.c b/Build/source/texk/dvipdfmx/src/jpegimage.c index ed8d69165a2..6a4fdf20b32 100644 --- a/Build/source/texk/dvipdfmx/src/jpegimage.c +++ b/Build/source/texk/dvipdfmx/src/jpegimage.c @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/jpegimage.c,v 1.10 2009/03/24 02:07:48 matthias Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/jpegimage.c,v 1.11 2009/05/10 17:04:54 matthias Exp $ This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. @@ -62,6 +62,8 @@ #include "mfileio.h" #include "numbers.h" +#include "dvipdfmx.h" + #include "pdfobj.h" #include "jpegimage.h" @@ -347,6 +349,13 @@ static void jpeg_get_density (struct JPEG_info *j_info, double *xdensity, double *ydensity) { + if (compat_mode) { + *xdensity = *ydensity = 72.0 / 100.0; + return; + } + + *xdensity = *ydensity = 1.0; + if (IS_JFIF(j_info)) { struct JPEG_APPn_JFIF *app_data; int i; |