Académique Documents
Professionnel Documents
Culture Documents
All rights
reserved.
%
% This software is provided AS-IS with no warranty, either express or
% implied.
%
% This software is distributed under license and may not be copied,
% modified or distributed except as expressly authorized under the terms
% of the license contained in the file LICENSE in this distribution.
%
% For more information about licensing, please refer to
% http://www.ghostscript.com/licensing/. For information on
% commercial licensing, go to http://www.artifex.com/licensing/ or
% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
% San Rafael, CA 94903, U.S.A., +1(415)492-9861.
/printcs
{ dup type /stringtype eq
{ printcs1 (\n) print }
{ ( ) print == }
ifelse
} bind def
/printcs1
{ save exch
lenIV 0 ge {
4330 exch dup length string .type1decrypt exch pop
dup length lenIV sub lenIV exch getinterval
} if
0 () /SubFileDecode filter
mark exch charstack_read csbegin
counttomark 1 sub -1 0 { index char1 } for
cleartomark restore
} bind def
/printfont
{ pcs_ps_dict
/CSFormat where { pop CSFormat /C eq { pop pcs_c_dict } if } if
begin
currentfont begin Private begin 10 dict begin
beginchars
CharStrings { exch charbegin printcs } forall
endchars
/Subrs where
{ pop % the dictionary
beginsubrs
0 1 Subrs length 1 sub
{ dup subrbegin
Subrs exch get printcs
} for
endsubrs
} if