summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/dvipng-1.14/tfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/dvipng-1.14/tfm.c')
-rw-r--r--Build/source/texk/dvipng/dvipng-1.14/tfm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/dvipng/dvipng-1.14/tfm.c b/Build/source/texk/dvipng/dvipng-1.14/tfm.c
index a8a829cc932..178460166d4 100644
--- a/Build/source/texk/dvipng/dvipng-1.14/tfm.c
+++ b/Build/source/texk/dvipng/dvipng-1.14/tfm.c
@@ -54,8 +54,13 @@ bool ReadTFM(struct font_entry * tfontp, char* tfmname)
c=bc;
position=(unsigned char*)fmmap.data+24+lh*4;
while(c <= ec) {
+#ifdef _WIN64
+ DEBUG_PRINT(DEBUG_TFM,("\n@%I64d TFM METRICS:\t",
+ (__int64)position - (__int64)fmmap.data));
+#else
DEBUG_PRINT(DEBUG_TFM,("\n@%ld TFM METRICS:\t",
(long)position - (long)fmmap.data));
+#endif
tcharptr=xmalloc(sizeof(struct char_entry));
tcharptr->data=NULL;
tcharptr->tfmw=width[*position];