diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2014-05-10 13:09:10 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2014-05-10 13:09:10 +0000 |
commit | 04ce8def2b9736329974c22de47c930815fc9183 (patch) | |
tree | 61c329bbc7fab56b37e682958deef4fb113a649f /Build/source/texk/dvipdfm-x | |
parent | d2e9453c7c0fb502cf94aa17f5aaa979416eb159 (diff) |
update bmpimage.c in dvipdfm-x and in XeTeX
git-svn-id: svn://tug.org/texlive/trunk@33959 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x')
-rw-r--r-- | Build/source/texk/dvipdfm-x/bmpimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/bmpimage.c b/Build/source/texk/dvipdfm-x/bmpimage.c index 97410936253..1e08ae210f8 100644 --- a/Build/source/texk/dvipdfm-x/bmpimage.c +++ b/Build/source/texk/dvipdfm-x/bmpimage.c @@ -125,6 +125,8 @@ bmp_include_image (pdf_ximage *ximage, FILE *fp) if (hsize == DIB_CORE_HEADER_SIZE) { info.width = USHORT_LE(p); p += 2; info.height = USHORT_LE(p); p += 2; + info.xdensity = 1.0; /* assume 72 dpi */ + info.ydensity = 1.0; /* assume 72 dpi */ if (USHORT_LE(p) != 1) { WARN("Unknown bcPlanes value in BMP COREHEADER."); return -1; |