aboutsummaryrefslogtreecommitdiffstats
path: root/z17.c
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:56 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:56 +0000
commit162643f981292504f375a7f834d408a4a0fa7f46 (patch)
treea52e523ace2e98b57c761a8319f45b8aee208fce /z17.c
parentb10d39aec443165093f8f28bc6f940530b89cdaf (diff)
downloadlout-162643f981292504f375a7f834d408a4a0fa7f46.tar.gz
Lout 3.22.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@13 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z17.c')
-rw-r--r--z17.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/z17.c b/z17.c
index 4592800..092212f 100644
--- a/z17.c
+++ b/z17.c
@@ -1,6 +1,6 @@
/*@z17.c:Gap Widths:GetGap()@*************************************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.21) */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.22) */
/* COPYRIGHT (C) 1991, 2000 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */
@@ -205,7 +205,7 @@ FULL_LENGTH MinGap(FULL_LENGTH a, FULL_LENGTH b, FULL_LENGTH c, GAP *xgap)
case EDGE_MODE: res = find_min(MAX_FULL_LENGTH, a + w + b);
break;
- case MARK_MODE: if( BackEnd != PLAINTEXT )
+ case MARK_MODE: if( BackEnd->fractional_spacing_avail )
res = find_max(w, a + b + (FULL_LENGTH) (0.1 * w) );
else
res = find_max(w, a + b);
@@ -257,7 +257,7 @@ FULL_LENGTH ExtraGap(FULL_LENGTH a, FULL_LENGTH b, GAP *xgap, int dir)
case EDGE_MODE: res = 0;
break;
- case MARK_MODE: if( BackEnd != PLAINTEXT )
+ case MARK_MODE: if( BackEnd->fractional_spacing_avail )
res = find_max(0, (FULL_LENGTH) (0.9 * w) - a - b);
else
res = find_max(0, w - a - b);
@@ -331,7 +331,7 @@ FULL_LENGTH ActualGap(FULL_LENGTH prevf, FULL_LENGTH b, FULL_LENGTH f,
case EDGE_MODE: w2 = prevf + w + b;
break;
- case MARK_MODE: if( BackEnd != PLAINTEXT )
+ case MARK_MODE: if( BackEnd->fractional_spacing_avail )
w2 = find_max(w, prevf + b + (FULL_LENGTH) (0.1 * w) );
else
w2 = find_max(w, prevf + b);