Beruflich Dokumente
Kultur Dokumente
%
%
%
%
%
%
%
%
%
%
%
%
%
} def
/pmarray 256 array def
/printmap
% <chars> <decode> printmap { mark 3 1 roll exch
{ 2 copy known { 1 index exch get } { pop 0 } ifelse exch
}
forall pop
pmarray 0 counttomark 2 sub getinterval astore
([) print dup length =only 0 exch (] = {\n ) exch
{ exch print =only
1 add 15 and dup 0 eq { (,\n ) } { (, ) } ifelse
}
forall pop pop (\n};\n) print pop
} def
/decodeStd StandardEncoding invertencoding def
/decodeISO ISOLatin1Encoding
% Remove the redundant characters
dup length array copy
[8#222 8#225 8#230 8#233 8#240] { 2 copy /.notdef put pop } forall
invertencoding def
/decodeSym SymbolEncoding invertencoding def
/decodeANSI ANSIEncoding invertencoding def
/decodeOEM OEMEncoding invertencoding def
% Construct the map from Symbol to OEM.
(\nprivate const byte far_data gs_map_symbol_to_oem) print
SymbolEncoding decodeOEM printmap
% Construct the map from ISOLatin1 to OEM.
(\nprivate const byte far_data gs_map_iso_to_oem) print
ISOLatin1Encoding decodeOEM printmap
% Construct the map from Standard to ISOLatin1.
(\nprivate const byte far_data gs_map_std_to_iso) print
StandardEncoding decodeISO printmap
% Construct the map from ISOLatin1 to Standard.
% The Windows driver doesn't need this, but the X11 driver does.
(\nprivate const byte far_data gs_map_iso_to_std) print
ISOLatin1Encoding decodeStd printmap
quit