aboutsummaryrefslogtreecommitdiffstats
path: root/externs.h
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:39:32 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:39:32 +0000
commit128e9a1532ce7fa38ddc16de06d213530dc5ce15 (patch)
tree97a930289ac5f12779b62507bb07ccf9be39c4a9 /externs.h
parentb2f1a4e879d3013974e41674dbf684d816f1aa95 (diff)
downloadlout-128e9a1532ce7fa38ddc16de06d213530dc5ce15.tar.gz
Lout 3.31.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@31 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'externs.h')
-rw-r--r--externs.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/externs.h b/externs.h
index c00f2d8..1c66de4 100644
--- a/externs.h
+++ b/externs.h
@@ -1,7 +1,7 @@
/*@externs.h:External Declarations:Directories and file conventions@**********/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.30) */
-/* COPYRIGHT (C) 1991, 2004 Jeffrey H. Kingston */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.31) */
+/* COPYRIGHT (C) 1991, 2005 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */
/* School of Information Technologies */
@@ -95,7 +95,7 @@ extern nl_catd MsgCat;
/* */
/*****************************************************************************/
-#define LOUT_VERSION AsciiToFull("Basser Lout Version 3.30 (October 2004)")
+#define LOUT_VERSION AsciiToFull("Basser Lout Version 3.31 (August 2005)")
#define CROSS_DB AsciiToFull("lout")
#define SOURCE_SUFFIX AsciiToFull(".lt")
#define INDEX_SUFFIX AsciiToFull(".li")
@@ -574,6 +574,8 @@ typedef void *POINTER;
#define STR_BREAK_NOLAST AsciiToFull("unbreakablelast")
#define STR_BREAK_LAST AsciiToFull("breakablelast")
#define STR_BREAK_SETOUTDENT AsciiToFull("setoutdent")
+#define STR_BREAK_MARGINKERNING AsciiToFull("marginkerning")
+#define STR_BREAK_NOMARGINKERNING AsciiToFull("nomarginkerning")
#define STR_SPACE_LOUT AsciiToFull("lout")
#define STR_SPACE_COMPRESS AsciiToFull("compress")
@@ -674,6 +676,7 @@ typedef struct
BOOLEAN onobreaklast : 1; /* no break after last line of para */
BOOLEAN obaselinemark : 1; /* baseline metrics */
BOOLEAN oligatures : 1; /* use ligatures */
+ BOOLEAN omarginkerning : 1; /* perform margin kerning */
} STYLE;
#define line_gap(x) (x).osu1.oline_gap
@@ -695,6 +698,7 @@ typedef struct
#define nobreaklast(x) (x).onobreaklast
#define baselinemark(x) (x).obaselinemark
#define ligatures(x) (x).oligatures
+#define marginkerning(x)(x).omarginkerning
#define yunit(x) (x).oyunit
#define zunit(x) (x).ozunit
#define outdent_len(x) (x).ooutdent_len
@@ -716,6 +720,7 @@ typedef struct
nobreaklast(x) = nobreaklast(y), \
baselinemark(x) = baselinemark(y), \
ligatures(x) = ligatures(y), \
+ marginkerning(x) = marginkerning(y), \
vadjust(x) = vadjust(y), \
hadjust(x) = hadjust(y), \
padjust(x) = padjust(y), \
@@ -3379,6 +3384,8 @@ extern void FontPrintPageResources(FILE *fp);
extern void FontAdvanceCurrentPage(void);
extern void FontPageUsed(OBJECT face);
extern BOOLEAN FontNeeded(FILE *fp);
+extern FULL_LENGTH FontGlyphHeight(FONT_NUM fnum, FULL_CHAR chr);
+extern FULL_LENGTH FontGlyphWidth(FONT_NUM fnum, FULL_CHAR chr);
/***** z38.c Character Mappings **************************************/
extern MAP_VEC MapTable[];