HP Visualize c200/c240 hp workstations - hp-ux 10.20 graphics administration g - Page 153

Fonts, Diagnostics, is not run

Page 153 highlights

Fonts Fonts are usually stored as individual files in directories. The list of directories in which the server looks when trying to open a font is controlled by the font path. Although most sites will choose to have the server start up with the appropriate font path (using the -fp option mentioned above), it can be overridden using the xset program. Font databases are created by running the mkfontdir or stmkdirs program in the directory containing the compiled versions of the fonts (mkfontdir) or font outlines (stmkdirs.) Whenever fonts are added to a directory, mkfontdir or stmkdirs should be rerun so that the server can find the new fonts. If mkfontdir or stmkdirs is not run, the server will not be able to find any of the new fonts in the directory. In addition, the X server supports font servers. A font server is a networked program that supplies fonts to X servers and other capable programs. In order to communicate with a font server, the font servers address must be supplied as part of the X server's font path. A font server's address is specified as: /: where is always tcp, is the hostname of the machine being connected to (no hostname means a local connection) and is the tcp address that the font server is listening at (typically 7000). Diagnostics Too numerous to list them all. If run from CDE, errors are logged in the file /var/dt/Xerrors. Page 153 Graphics Administration Guide for HP-UX 10.20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

Fonts
Fonts are usually stored as individual files in directories. The list of directories in which the server looks
when trying to open a font is controlled by the font path. Although most sites will choose to have the
server start up with the appropriate font path (using the
-fp
option mentioned above), it can be
overridden using the xset program.
Font databases are created by running the mkfontdir or stmkdirs program in the directory containing the
compiled versions of the fonts (
mkfontdir
) or font outlines (
stmkdirs
.) Whenever fonts are added to a
directory
,
mkfontdir
or
stmkdirs
should be rerun so that the server can find the new fonts. If
mkfontdir
or
stmkdirs
is not run, the server will not be able to find any of the new fonts in the directory.
In addition, the X server supports font servers. A font server is a networked program that supplies fonts
to X servers and other capable programs. In order to communicate with a font server, the font servers
address must be supplied as part of the X server's font path. A font server's address is specified as:
<transport>/<hostname>:<port-number>
where <transport> is always tcp, <hostname> is the hostname of the machine being connected to (no
hostname means a local connection) and <port-number> is the tcp address that the font server is
listening at (typically 7000).
Diagnostics
Too numerous to list them all. If run from CDE, errors are logged in the file
/var/dt/Xerrors
.
Graphics Administration Guide for HP-UX 10.20
Page 153