diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/bmpimage.c')
-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; |