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