1TTF2PT1_X2GS(1) TTF2PT1 Font Converter TTF2PT1_X2GS(1)
2
3
4
6 ttf2pt1_x2gs - font installer for Ghostscript
7
9 ttf2pt1_x2gs [config-file]
10
12 The fonts generated with ttf2pt1 work fine with Ghostscript by
13 themselves. The script `ttf2pt1_x2gs' links the font files from the X11
14 direcotry into the Ghostscript directory and automatically creates the
15 description file ("Fontmap") in Ghostscript format.
16
17 If the configuration file is not specified as an argument then the file
18 `"convert.cfg"' in the current directory is used, just like the
19 `"convert"' script does. Indeed, this configuration file is used for
20 both scripts.
21
22 The Ghostscript-related parameters in the configuration file are:
23
24 "DSTDIR" - the X11 font directory used by `"ttf2pt1_x2gs"' as the
25 source of the fonts. This parameter is common with the X11
26 configuration.
27
28 "GSDIR" - the base directory of Ghostsript. If this parameter is set to
29 an empty string then `"ttf2pt1_convert"' won't call `"x2gs"'. So if you
30 want to get only the X11 fonts installed then set this parameter to an
31 empty string. This directory may vary on various system, so please
32 check your system and set this value accordingly before running the
33 script.
34
35 "GSFONTDIR" - the font directory of Ghostscript. In the standard
36 Ghostscript installation it's a subdirectory of "GSDIR" but some
37 systems may use completely different directories.
38
39 "GSCONFDIR" - the configuration subdirectory of Ghostscript that
40 contains the "Fontmap" file.
41
42 "INSTALLFONTMAP" - if the value is set to "YES" then install the
43 entries for the new fonts right into the main "Fontmap" file. Otherwise
44 just leave the file "Fontmap.ttf" in the Ghostscript configuration
45 directory.
46
47 After preparing the configuration file run the script. It symbolicaly
48 links all the font files and creates the description file "Fontmap.ttf"
49 in "GSCONDFIR". After that there are two choices.
50
51 If the option "INSTALLFONTMAP" was set to "YES" then the font
52 descriptions are also automatically installed into the master "Fontmap"
53 file. The script is clever enough to detect if it was run multiple
54 times with the same directories and if so it replaces the old "Fontmap"
55 entries with the new ones instead of just accumulating all of them. You
56 may also run it multiple times for multiple X11 directories and all the
57 results will be properly collected in the "Fontmap". But it's your
58 responsibility to watch that the names of the font files don't overlap.
59 If the X11 font directory gets renamed then you have to remove its font
60 entries from the "Fontmap" and only after that re-run `"ttf2pt1_x2gs"'
61 for the new directory.
62
63 On the other hand if the option "INSTALLFONTMAP" was set to "NO" then
64 go to the "GSCONFDIR" directory and insert the contents of
65 "Fontmap.ttf" into the "Fontmap" file manually. This step may be left
66 manual to make the installation a little bit more safe.
67
68 After that you may also want to redefine some of the aliases in
69 "Fontmap" to refer to the newly installed fonts. But the redefinition
70 of the aliases may be dangerous if the width of characters in the new
71 font will be different from the old font. Alas, there is no visible
72 solution of this problem yet.
73
75 • /usr/share/doc/ttf2pt1-3.4.4/convert.cfg.sample
76
77 • /usr/share/ttf2pt1/scripts/*
78
79 • /usr/share/doc/ttf2pt1-3.4.4/README
80
81 • /usr/share/doc/ttf2pt1-3.4.4/FONTS
82
83 • /usr/share/ttf2pt1/*
84
85 • /usr/bin/ttf2pt1
86
88 • ttf2pt1(1)
89
90 • ttf2pt1_convert(1)
91
92 • t1asm(1)
93
94
95
96version 3.4.4 December 31, 2003 TTF2PT1_X2GS(1)