Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_fixcpp/sys/lib/ghostscript/gs_typ42.ps – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
%    Copyright (C) 1996 Aladdin Enterprises.  All rights reserved.
2
% 
3
% This software is provided AS-IS with no warranty, either express or
4
% implied.
5
% 
6
% This software is distributed under license and may not be copied,
7
% modified or distributed except as expressly authorized under the terms
8
% of the license contained in the file LICENSE in this distribution.
9
% 
10
% For more information about licensing, please refer to
11
% http://www.ghostscript.com/licensing/. For information on
12
% commercial licensing, go to http://www.artifex.com/licensing/ or
13
% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
 
16
% $Id: gs_typ42.ps,v 1.7 2004/12/16 12:34:56 igor Exp $
17
% Type 42 font support code.
18
 
19
% Here are the BuildChar and BuildGlyph implementation for Type 42 fonts.
20
% The names %Type42BuildChar and %Type42BuildGlyph are known to the
21
% interpreter.  The real work is done in an operator:
22
%	<font> <code|name> <name> <glyphindex> .type42execchar -
23
 
24
(%Type42BuildChar) cvn	% <font> <code> %Type42BuildChar -
25
 { 1 index /Encoding get 1 index get .type42build
26
 } bind def
27
(%Type42BuildGlyph) cvn	% <font> <name> %Type42BuildGlyph -
28
 { dup .type42build
29
 } bind def
30
/.type42build		% <font> <code|name> <name> .type42build -
31
 { 2 index begin
32
    dup CharStrings exch .knownget not
33
     { 2 copy eq { exch pop /.notdef exch } if
34
       QUIET not
35
	{ (Substituting .notdef for ) print
36
	  =string cvs print ( in the font ) print
37
	  1 index /FontName get = flush
38
	}
39
	{ pop }
40
       ifelse
41
       /.notdef CharStrings /.notdef get
42
     } if
43
   end .type42execchar
44
 } bind def
45
 
46
% Register the font type for definefont.
47
buildfontdict 42 /.buildfont42 cvx put