diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-02-15 10:23:48 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-02-15 10:23:48 +0000 |
commit | 8ecc5d7f7166562ae51db2073dc5b73e3bbd12d8 (patch) | |
tree | 289e020b40653da87d7d5a983d7901699bb884b3 /Build/source/texk/web2c/xetexdir/image | |
parent | 3596905a670d9be339d663ce8338cb2de598eacf (diff) |
web2c/xetexdir: Discard the changes on 2015-02-09
git-svn-id: svn://tug.org/texlive/trunk@36280 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/image')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/image/jpegimage.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Build/source/texk/web2c/xetexdir/image/jpegimage.c b/Build/source/texk/web2c/xetexdir/image/jpegimage.c index fb72b1a8630..2bff54548a4 100644 --- a/Build/source/texk/web2c/xetexdir/image/jpegimage.c +++ b/Build/source/texk/web2c/xetexdir/image/jpegimage.c @@ -83,7 +83,6 @@ #include <stdlib.h> #include <string.h> -#include <math.h> #include "kpathsea/lib.h" /* for xmalloc/xrealloc prototypes */ @@ -431,8 +430,6 @@ JPEG_scan_file (struct JPEG_info *j_info, FILE *fp) unsigned short length; int found_SOFn, count; char app_sig[128]; - double xdensity, ydensity; - double image_w, image_h; JPEG_info_init(j_info); @@ -528,18 +525,5 @@ JPEG_scan_file (struct JPEG_info *j_info, FILE *fp) count++; } - jpeg_get_density (j_info, &xdensity, &ydensity); - - image_w = floor((j_info->width * xdensity) + 0.5); - image_h = floor((j_info->height * ydensity) + 0.5); - - j_info->width = (unsigned short)(image_w); - j_info->height = (unsigned short)(image_h); - -/* - Now, j_info->width and j_info->height are correct width and - height in bp unit -*/ - return (found_SOFn ? 0 : -1); } |