summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2007-11-16 06:25:52 +0000
committerHenry Stiles <henry.stiles@artifex.com>2007-11-16 06:25:52 +0000
commit5165283752cafedcfa870212822940d11376d734 (patch)
tree778e3f55af7aa75f33e3be020faaa44750409b58
parentcbf028487a625490ae58619b0125800093e2fa76 (diff)
Allow the pcl interpreter to run without fonts. No differences
expected. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2961 06663e23-700e-0410-b217-a244a6096597
-rw-r--r--pcl/pcfsel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcl/pcfsel.c b/pcl/pcfsel.c
index 6a5f1d2cb..8fc0644db 100644
--- a/pcl/pcfsel.c
+++ b/pcl/pcfsel.c
@@ -418,7 +418,7 @@ pcl_reselect_font(pcl_font_selection_t *pfs, const pcl_state_t *pcs)
}
}
if ( best_font == 0 )
- return e_Unimplemented; /* no fonts */
+ return -1; /* no fonts */
#ifdef DEBUG
if ( gs_debug_c('=') ) {
dprintf_font_scoring("champion", best_font, best_match);