summaryrefslogtreecommitdiff
path: root/Resource/Init/gs_fapi.ps
diff options
context:
space:
mode:
authorNancy Durgin <nancy.durgin@artifex.com>2018-09-19 09:14:02 -0700
committerNancy Durgin <nancy.durgin@artifex.com>2018-09-20 08:47:43 -0700
commitcaa8b4c279a078419ee9c002106a84703c090d5d (patch)
treef602279cf2cfd8ee73980893fc40ba4dbddaa426 /Resource/Init/gs_fapi.ps
parentb0222e5e39712999f22084996a6b85a120b9389e (diff)
downloadghostpdl-caa8b4c279a078419ee9c002106a84703c090d5d.tar.gz
Cleanups for FAPI functions
Fix .FAPIAvailable to check for stack underflow Undefine FAPI functions at end of gs_fapi.ps (.FAPIavailable, .FAPIpassfont, .FAPIrebuildfont) The rendering functions, .FAPIBuildGlyph, .FAPIBuildChar, .FAPIBuildGlyph9, are still defined. I noticed similar rendering funcs for other fonts are also exposed -- not sure if this is fixable or not.
Diffstat (limited to 'Resource/Init/gs_fapi.ps')
-rw-r--r--Resource/Init/gs_fapi.ps3
1 files changed, 3 insertions, 0 deletions
diff --git a/Resource/Init/gs_fapi.ps b/Resource/Init/gs_fapi.ps
index deb6b3e19..ac3c27d29 100644
--- a/Resource/Init/gs_fapi.ps
+++ b/Resource/Init/gs_fapi.ps
@@ -455,6 +455,9 @@ bind def
end % the temporary dictionary for local binding.
odef odef odef odef odef odef
+% Undef these, not needed outside this file
+[ /.FAPIavailable /.FAPIpassfont /.FAPIrebuildfont ] {systemdict exch .forceundef} forall
+
.setlanguagelevel
%END FAPI