xref: /plan9/sys/src/cmd/gs/lib/FAPIcidfmap (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1%!
2% $Id: FAPIcidfmap,v 1.6 2003/02/07 00:31:11 igor Exp $
3% This is a sample map file for FAPI CID fonts.
4
5%
6% The map is a set of records like this :
7%
8%  /CIDfont_name options_dict ;
9%
10% where options_dict is a dictionary with the following entries :
11%
12% Key         Type      Description
13% Path        string    Absolute path to font file, or relative path to font file from
14%                       the GS_EXTFONTPATH value.
15% CIDFontType interger  PostScript type for this CID font. Only 0 is currently allowed.
16%                       Note that this is unrelated to the real type of the font file -
17%                       the bridge will perform format conversion.
18% FAPI        name      Name of the renderer to be used with the font. Only /AgfaUFST is now allowed.
19% SubfontId   integer   (optional) Index of the font in font collection, such as FCO or TTC.
20%                       It is being ignored if /Path doesn't specify a collection.
21%                       Default value is 0.
22% CSI         array     Must have strongly 2 elements.
23%                       The first element of the array specifies Ordering of CIDSystemInfo.
24%                       The second element specifies Supplement of CIDSystemInfo.
25%
26% Use regular Postscript syntax.
27%
28% Examples :
29%
30%  /Ryumin-Medium     << /Path (msgothic.ttc) /CIDFontType 0 /FAPI /AgfaUFST /CSI [(Japan1) 2] >> ;
31%  /HeiseiKakuGo-W5   << /Path (F:/WIN2000/Fonts/BATANG.TTC) /CIDFontType 0 /FAPI /AgfaUFST /CSI [(Japan1) 2] >> ;
32
33