summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-04-24 14:30:43 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-04-24 14:30:43 +0000
commit61467efa047f9ef035bacb403c29f34a0a737986 (patch)
tree4f0c95a4a3ac6fc4ae50fb82f4801ea8567872a7
parentc9ecef7bc9096500c79c094cb588079efcf6a119 (diff)
fix a bug in jpegimage.c in dvipdfm-x and xetexdir/image.
git-svn-id: svn://tug.org/texlive/trunk@37033 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipdfm-x/jpegimage.c2
-rw-r--r--Build/source/texk/web2c/xetexdir/image/jpegimage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/jpegimage.c b/Build/source/texk/dvipdfm-x/jpegimage.c
index 19e7d0108d4..863c6949b95 100644
--- a/Build/source/texk/dvipdfm-x/jpegimage.c
+++ b/Build/source/texk/dvipdfm-x/jpegimage.c
@@ -776,7 +776,7 @@ read_APP0_JFIF (struct JPEG_info *j_info, FILE *fp)
break;
default: /* FIXME: not sure what to do with this.... */
j_info->xdpi = 72.0;
- j_info->ydpi = 72.0 * app_data->Ydensity / app_data->Xdensity;
+ j_info->ydpi = 72.0;
break;
}
diff --git a/Build/source/texk/web2c/xetexdir/image/jpegimage.c b/Build/source/texk/web2c/xetexdir/image/jpegimage.c
index 6a42962ae04..643eae6b9fa 100644
--- a/Build/source/texk/web2c/xetexdir/image/jpegimage.c
+++ b/Build/source/texk/web2c/xetexdir/image/jpegimage.c
@@ -349,7 +349,7 @@ read_APP0_JFIF (struct JPEG_info *j_info, FILE *fp)
break;
default: /* FIXME: not sure what to do with this.... */
j_info->xdpi = 72.0;
- j_info->ydpi = 72.0 * app_data->Ydensity / app_data->Xdensity;
+ j_info->ydpi = 72.0;
break;
}