diff options
Diffstat (limited to 'z50.c')
-rw-r--r-- | z50.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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 |