%
% 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.
languagelevel 2 .setlanguagelevel
() exch {
3 1 roll =string cvs concatstrings (\0\0) concatstrings
exch
{ =string cvs concatstrings (\0) concatstrings
} forall
} forall
(\0) concatstrings
systemdict exch /.xlatmap exch put
%-------------------------------Font--------------------------------
/FontCommon % - font_common -
{ currentdict /PaintType known not {
/PaintType 0 def
} if
currentdict /Encoding .knownget not {
//StandardEncoding
} if
dup type /nametype eq {
/Encoding findresource
} if
/Encoding exch def
} bind def
/FontOptions 5 dict begin
/make_procs currentdict def
/NameKey /FontName def
/TypeKey /FontType def
1
{ /FontMatrix [0.001 0 0 0.001 0 0] def
/FontBBox [-128 -128 1024 1024] def % zfapi.ps refines it.
/Private 0 dict def
/CharStrings << /.notdef () >> def
//FontCommon exec
} bind def
42
{ /FontMatrix [1 0 0 1 0 0] def
/FontBBox [0 0 1 1] def % zfapi.ps refines it.
/CharStrings <<>> def
/sfnts [<00010000 0000 0000 0000 0000 0000>] def
/GlyphDirectory [] def
//FontCommon exec
} bind def
%---------------------------CIDFont---------------------------
/CIDFontCommon
{ /CIDSystemInfo currentdict //TranslateCSI exec def
currentdict /CSI undef
/FontBBox [-128 -128 1024 1024] def % zfapi.ps refines it.
/CIDCount 1 def % ChooseDecoding will set a reasonable value.
} bind def
/Japan1
{ p 1 94 231 n
p 17 26 780 w
p 34 59 790 w
p 66 91 816 w
w 842 842 7918 w % fixme: These substitutions require to shift the glyph
origin.
w 844 844 7919 w
w 846 846 7920 w
w 848 848 7921 w
w 850 850 7922 w
w 876 876 7923 w
w 908 908 7924 w
w 910 910 7925 w
w 912 912 7926 w
w 914 914 7927 w
w 925 925 7928 w
w 927 927 7929 w
w 929 929 7930 w
w 931 931 7931 w
w 933 933 7932 w
w 959 959 7933 w
w 991 991 7934 w
w 993 993 7935 w
w 995 995 7936 w
w 1002 1002 7937 w
w 1009 1009 7938 w
w 1010 1010 7939 w
} cvlit
/Japan2 1 index
/CNS1
{ p 1 94 13648 n
p 17 26 333 w
p 34 59 365 w
p 66 91 391 w
} cvlit
/GB1
{ p 2 94 814 n
p 2 94 262 w
p 1 1 7716 n
} cvlit
/Korea1
{ p 1 60 8094 n
p 62 94 8155 n
p 2 59 264 w
p 63 94 325 w
} cvlit
/Identity []
>> def
setpacking
0
{ //CIDFontCommon exec
/FDArray [
14 dict begin
/FontName CIDFontName =string cvs (%) concatstrings cvn def
/FontType 1 def
/FontMatrix [0.001 0 0 0.001 0 0 ] def
/PaintType 0 def
/Private 0 dict def
currentdict
end
] def
/GlyphDirectory [] def
/GDBytes 1 def
/FDBytes 0 def
} bind def
1
{ //CIDFontCommon exec
/FontMatrix [1 0 0 1 0 0] def
/BuildGlyph {} def
} bind def
2
{ //CIDFontCommon exec
/FontMatrix [1 0 0 1 0 0] def
/GDBytes 2 def
/CIDMap <0000> def
/sfnts [<00010000 0000 0000 0000 0000 0000>] def
/Encoding [] def
/CharStrings << /.notdef 0 >> def
} bind def
/encodingnames mark
StandardEncoding /StandardEncoding
ISOLatin1Encoding /ISOLatin1Encoding
SymbolEncoding /SymbolEncoding
DingbatsEncoding /DingbatsEncoding
/resourceforall where
{ pop (*) { cvn dup findencoding exch } 1024 string /Encoding resourceforall }
if
.dicttomark def
.setlanguagelevel