diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2015-04-16 15:28:58 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2015-04-16 15:31:56 +0100 |
commit | 5d87a9ba906ad303abdd487a719cc966e857c198 (patch) | |
tree | 8d740f21e5abb2ac046f3d3cbd64e4c9df8f3470 | |
parent | 6d1bde2bad1afeb610735f7ea53cabd7d3120fbe (diff) | |
download | ghostpdl-5d87a9ba906ad303abdd487a719cc966e857c198.tar.gz |
Tweak FAPI code for server search.
If we have multiple FAPI "servers" (i.e. font renderers) we cycle through them
testing if they can handle a particular font. To indicate it cannot, a server
will return an invalidaccess error, which we were erroneously returning to the
interpreter.
Now keep searching on an invalidaccess.
No cluster differences.
-rw-r--r-- | gs/psi/zfapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/psi/zfapi.c b/gs/psi/zfapi.c index 1acb2eb8d..6f26ffe92 100644 --- a/gs/psi/zfapi.c +++ b/gs/psi/zfapi.c @@ -2424,7 +2424,7 @@ zFAPIpassfont(i_ctx_t *i_ctx_p) if (fapi_request != NULL) gs_free_string(imemory, (byte *) fapi_request, strlen(fapi_request) + 1, "do_FAPIpassfont"); - if (code != 0) + if (code < 0 && code != gs_error_invalidaccess) return code; if (code >= 0 && fapi_id != NULL) { |