diff options
Diffstat (limited to 'pl/plulfont.c')
-rw-r--r-- | pl/plulfont.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pl/plulfont.c b/pl/plulfont.c index 34f540d2d..4a40bbc13 100644 --- a/pl/plulfont.c +++ b/pl/plulfont.c @@ -20,6 +20,7 @@ #include "string_.h" #include "gsmemory.h" #include "gstypes.h" +#include "gserrors.h" #include "gp.h" #include "gpgetenv.h" #include "plfont.h" @@ -41,6 +42,15 @@ #include "shareinc.h" #include "gxfapiu.h" +#if UFST_VERSION_MAJOR >= 6 && UFST_VERSION_MINOR >= 2 +#undef true +#undef false + +#define false FALSE +#define true TRUE +#define UNICODE UFST_UNICODE +#endif + /* the line printer font NB FIXME use a header file. */ #include "plulp.c" /* global warning. ufst state structure passed to each ufst function */ @@ -311,7 +321,9 @@ pl_load_built_in_fonts(const char *pathname, gs_memory_t *mem, pl_dict_t *pfontd int err_cd; if (strcmp(resident_table[j].full_font_name, pname) != 0) continue; + err_cd = pl_load_mt_font(fcoHandle, pdir, mem, i, &plfont); + if (err_cd != 0) return gs_throw1(err_cd, "An unrecoverable failure occurred while loading the resident font %s\n", pname); else { |