aboutsummaryrefslogtreecommitdiffstats
path: root/z50.c
diff options
context:
space:
mode:
Diffstat (limited to 'z50.c')
-rw-r--r--z50.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/z50.c b/z50.c
index 22f63a6..c88839b 100644
--- a/z50.c
+++ b/z50.c
@@ -1,7 +1,7 @@
/*@z50.c:PDF Back End:PDF_BackEnd@********************************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.39) */
-/* COPYRIGHT (C) 1991, 2008 Jeffrey H. Kingston */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.41) */
+/* COPYRIGHT (C) 1991, 2023 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */
/* School of Information Technologies */
@@ -32,6 +32,7 @@
#define M_PI 3.14159265358979323846
#endif
#include "externs.h"
+#include "child.h"
/*****************************************************************************/
@@ -295,7 +296,7 @@ static void PDF_PrintWord(OBJECT x, int hpos, int vpos)
unsigned short *composite; COMPOSITE *cmp;
*** */
static int last_hpos; /* does not need to be initialised */
- static int next_hpos = -1;
+ /* static int next_hpos = -1; */
#if 0
struct metrics *fnt;
#endif
@@ -378,7 +379,10 @@ static void PDF_PrintWord(OBJECT x, int hpos, int vpos)
break;
}
else
- { while( *++a );
+ { while( *++a )
+ {
+ /* this empty statement added by JeffK 17/6/23 */
+ }
a++;
}
}
@@ -393,7 +397,7 @@ static void PDF_PrintWord(OBJECT x, int hpos, int vpos)
PDFText_OpenXY(out_fp, hpos, vpos);
last_hpos = hpos;
- next_hpos = hpos + fwd(x, COLM); /* fwd(x, COLM) = width of wd */
+ /* next_hpos = hpos + fwd(x, COLM); ** fwd(x, COLM) = width of wd */
break;
@@ -405,7 +409,7 @@ static void PDF_PrintWord(OBJECT x, int hpos, int vpos)
PDFText_OpenX(out_fp, hpos - last_hpos);
#endif
last_hpos = hpos;
- next_hpos = hpos + fwd(x, COLM); /* fwd(x, COLM) = width of wd */
+ /* next_hpos = hpos + fwd(x, COLM); ** fwd(x, COLM) = width of wd */
break;
#if 0