summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-12-01 01:05:40 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-12-01 01:05:40 +0200
commit16a0c282a673136c0bbb116f35e6e89d8b43a877 (patch)
treee8732f70118fad8bd8abe59740cf8c146be23cb6 /src
parente47fb944a8f485c4ad6be9c2cf6a4866eff7a07f (diff)
post-CID fixes
Curiously, make distcheck succeeded ... go figure.
Diffstat (limited to 'src')
-rw-r--r--src/Type1/fontfcn.h11
-rw-r--r--src/Type1/type1.c1
-rw-r--r--src/Type1/util.h2
3 files changed, 13 insertions, 1 deletions
diff --git a/src/Type1/fontfcn.h b/src/Type1/fontfcn.h
index 70d82ad..33e9dc8 100644
--- a/src/Type1/fontfcn.h
+++ b/src/Type1/fontfcn.h
@@ -35,6 +35,8 @@
#undef VERSION
#endif
+#include "util.h"
+
/* Definition of a PostScript FONT */
typedef struct ps_font {
char *vm_start;
@@ -103,3 +105,12 @@ extern int scan_font ( psfont *FontP );
#define LENIV 14
#define RNDSTEMUP 15
#define EXPANSIONFACTOR 16
+
+extern int SearchDictName ( psdict *dictP, psobj *keyP );
+extern boolean initFont ( int cnt );
+extern int readFont ( char *env );
+extern struct xobject *fontfcnB ( struct XYspace *S, unsigned char *code,
+ int *lenP, int *mode );
+extern Bool fontfcnA ( char *env, int *mode );
+extern void QueryFontLib ( char *env, char *infoName, pointer infoValue,
+ int *rcodeP );
diff --git a/src/Type1/type1.c b/src/Type1/type1.c
index 4aa890c..5515f46 100644
--- a/src/Type1/type1.c
+++ b/src/Type1/type1.c
@@ -64,7 +64,6 @@
#include "paths.h"
#include "fonts.h" /* understands about TEXTTYPEs */
#include "pictures.h" /* understands about handles */
-#include "range.h"
typedef struct xobject xobject;
#include "util.h" /* PostScript objects */
diff --git a/src/Type1/util.h b/src/Type1/util.h
index ddfc139..b66bd4c 100644
--- a/src/Type1/util.h
+++ b/src/Type1/util.h
@@ -68,6 +68,8 @@ typedef int boolean;
/* Routines for managing virtual memory */
/***================================================================***/
+#define VM_SIZE (50 * 1024)
+
extern boolean vm_init ( int cnt );
extern long vm_free;
extern long vm_size;