summaryrefslogtreecommitdiff
path: root/dviware/beebe/src/getfntdf.h
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/beebe/src/getfntdf.h')
-rw-r--r--dviware/beebe/src/getfntdf.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/dviware/beebe/src/getfntdf.h b/dviware/beebe/src/getfntdf.h
new file mode 100644
index 0000000000..8dc9e9809d
--- /dev/null
+++ b/dviware/beebe/src/getfntdf.h
@@ -0,0 +1,25 @@
+/* -*-C-*- getfntdf.h */
+/*-->getfntdf*/
+/**********************************************************************/
+/****************************** getfntdf ******************************/
+/**********************************************************************/
+
+void
+getfntdf()
+
+/***********************************************************************
+Read the font definitions as they are in the postamble of the DVI file.
+Note that the font directory is not yet loaded.
+***********************************************************************/
+
+{
+ register BYTE byte;
+
+ while (((byte = (BYTE)nosignex(dvifp,(BYTE)1)) >= FNT_DEF1)
+ && (byte <= FNT_DEF4))
+ readfont ((INT32)nosignex(dvifp,(BYTE)(byte-FNT_DEF1+1)));
+ if (byte != POST_POST)
+ (void)fatal ("getfntdf(): POST_POST missing after fontdefs");
+}
+
+