File: metricsview.html

package info (click to toggle)
pfaedit 0.0.20020312-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 29,804 kB
  • ctags: 34,822
  • sloc: ansic: 372,277; sh: 7,619; makefile: 231
file content (427 lines) | stat: -rw-r--r-- 10,095 bytes parent folder | download
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
<HTML>
<HEAD>
  <!-- Created with AOLpress/2.0 -->
  <!-- AP: Created on: 6-Dec-2000 -->
  <!-- AP: Last modified: 18-Dec-2000 -->
  <TITLE>The Metrics View</TITLE>
</HEAD>
<BODY>
<H1 ALIGN=Center>
  The Metrics View
</H1>
<P>
<IMG SRC="MetricsView.png" WIDTH="428" HEIGHT="323">
<P>
The metrics view allows you to examine how characters look together and to
alter the spacing between them.
<P>
If the metrics view is created from the font view then any selected characters
(up to about 15) will be displayed in the view. If it is created from an
outline or bitmap character view then only that character is displayed. If
it is created from a bitmap character view (or from the font view when that
view is displaying a bitmap font) then the metrics view will display bitmaps,
but will not allow you to edit the bitmaps metrics (you must do you editing
in one displaying outlines).
<P>
Underneath the menu bar is a text field which allows you to enter additional
unicode characters to be displayed.
<P>
The mid portion of the view is taken up with the displayed characters. For
outline characters these are sized so that the em-height of the font just
fits in this region. There are grey lines between the characters marking
the origin of the character on the right and the width of the character on
the left. The baseline is also drawn in grey.
<P>
One of the characters is active. That character has a green line on its left
(at its origin) and a blue line on its right (its width). You may change
the width by dragging this line. You may change the left side bearing (lbearing)
of the character by clicking on the character and dragging it left or right.
You may change the kerning between this character and the one to its left
by dragging the green line around.
<P>
The active character may be changed by clicking on any of the characters.
<P>
Underneath the display area are a set of text fields. You may type in new
numbers for any of these fields to change the corresponding metrics of the
character.
<P>
If the first character to be displayed is in Hebrew or Arabic (or any other
right to left language) then the entire display area will be shown right
to left
<P>
<STRONG>Note</STRONG> there is a very complicated algorithm given in the
Unicode spec for displaying mixed right to left and left to right passages.
This is not followed here. The direction determination is done by the first
character alone.
<P>
<STRONG>Note also </STRONG>that neither Arabic ligature nor form (initial,
terminal, medial, isolated) determination will be done in the display area
(though they will be done in the text field above). If you want to correct
form you must enter the unicode character for that form (as opposed to the
character for the letter).
<P>
<IMG SRC="HebrewMetrics.png" WIDTH="511" HEIGHT="323">
<H2>
  <A NAME="Entering">Entering non-ASCII characters</A>
</H2>
<P>
Most of us are stuck with keyboards that only have ASCII characters on them.
Or at best some sub-set of ISO 8859-1 characters. How can the full range
of unicode characters be entered?
<P>
Many versions of X supply a "Compose Character" key, or something equivalent.
The X software will map a sequence of keystrokes to one character in whatever
the native encoding may be.
<P>
My keyboard doesn't have such a key, and my X doesn't do this. But I have
implemented something along those lines for those of us with less expensive
keyboards. If you are in a mode where text entry is possible then press the
F12 key and follow it by a series of keystrokes. Accented characters may
be built using the following:
<TABLE CELLPADDING="2">
  <TR>
    <TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    <TD>`</TD>
    <TD>grave accent</TD>
    <TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    <TD>0</TD>
    <TD>ring</TD>
    <TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    <TD>"</TD>
    <TD>double grave (or tonos)</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>'</TD>
    <TD>acute accent</TD>
    <TD></TD>
    <TD>/</TD>
    <TD>slash</TD>
    <TD></TD>
    <TD>.</TD>
    <TD>dot above</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>:</TD>
    <TD>diaeresis (umlaut)</TD>
    <TD></TD>
    <TD>7</TD>
    <TD>breve</TD>
    <TD></TD>
    <TD>,</TD>
    <TD>dot below</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>^</TD>
    <TD>circumflex</TD>
    <TD></TD>
    <TD>6</TD>
    <TD>caron</TD>
    <TD></TD>
    <TD>5</TD>
    <TD>cedilla</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>~</TD>
    <TD>tilde</TD>
    <TD></TD>
    <TD>_</TD>
    <TD>macron</TD>
    <TD></TD>
    <TD>4</TD>
    <TD>ogonec</TD>
  </TR>
</TABLE>
<P>
So &Acirc; may be built by <KBD>[F12] ^ A</KBD>, and A with diaeresis and
macron may be built with <KBD>[F12] : _ A</KBD>.
<P>
Greek letters may also be created. If you start with <KBD>[F12] @</KBD> and
follow with:
<TABLE CELLPADDING="2">
  <TR>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>A</TD>
    <TD>Alpha</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>B</TD>
    <TD>Beta</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>C</TD>
    <TD>Chi</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>D</TD>
    <TD>Delta</TD>
    <TD></TD>
    <TD>E</TD>
    <TD>Epsilon</TD>
    <TD></TD>
    <TD>F</TD>
    <TD>Phi</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>G</TD>
    <TD>Gamma</TD>
    <TD></TD>
    <TD>H</TD>
    <TD>Eta</TD>
    <TD></TD>
    <TD>I</TD>
    <TD>Iota</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>J</TD>
    <TD>(technical) Theta</TD>
    <TD></TD>
    <TD>K</TD>
    <TD>Kappa</TD>
    <TD></TD>
    <TD>L</TD>
    <TD>Lamda</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>M</TD>
    <TD>Mu</TD>
    <TD></TD>
    <TD>N</TD>
    <TD>Nu</TD>
    <TD></TD>
    <TD>O</TD>
    <TD>Omicron</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>P</TD>
    <TD>Pi</TD>
    <TD></TD>
    <TD>Q</TD>
    <TD>Theta</TD>
    <TD></TD>
    <TD>R</TD>
    <TD>Rho</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>S</TD>
    <TD>Sigma</TD>
    <TD></TD>
    <TD>T</TD>
    <TD>Tau</TD>
    <TD></TD>
    <TD>U</TD>
    <TD>Upsilon</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>V</TD>
    <TD>final sigma</TD>
    <TD></TD>
    <TD>W</TD>
    <TD>Omega</TD>
    <TD></TD>
    <TD>X</TD>
    <TD>Xi</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>Y</TD>
    <TD>Psi</TD>
    <TD></TD>
    <TD>Z</TD>
    <TD>Zeta</TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
  </TR>
</TABLE>
<P>
This is the mapping used by the Symbol font. (Lower case letters are created
similarly so <KBD>[F12] @ a</KBD> yields a lower case alpha). Accented greek
letters may also be built up, <KBD>[F12] @ " A</KBD> yields Alpha tonos.
<P>
Finally the following special characters may be built:
<TABLE CELLPADDING="2">
  <TR>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>[F12] &lt;space&gt;</TD>
    <TD>&lt;no break space&gt;</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>[F12] *</TD>
    <TD>&#176;</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>[F12] @ *</TD>
    <TD>&lt;bullet&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] @ &lt;space&gt;</TD>
    <TD>&lt;em space&gt;</TD>
    <TD></TD>
    <TD>[F12] #</TD>
    <TD>&#163;</TD>
    <TD></TD>
    <TD>[F12] @ #</TD>
    <TD>&#165;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] $</TD>
    <TD>&lt;euro&gt;</TD>
    <TD></TD>
    <TD>[F12] @ $</TD>
    <TD>&#162;</TD>
    <TD></TD>
    <TD>[F12] !</TD>
    <TD>&#161;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] +</TD>
    <TD>&#177;</TD>
    <TD></TD>
    <TD>[F12] -</TD>
    <TD>&lt;soft-hyphen&gt;</TD>
    <TD></TD>
    <TD>[F12] @ -</TD>
    <TD>&lt;en dash&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] @ .</TD>
    <TD>&#183;</TD>
    <TD></TD>
    <TD>[F12] 7 2</TD>
    <TD>&#189;</TD>
    <TD></TD>
    <TD>[F12] ;</TD>
    <TD>. . .</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] &lt;</TD>
    <TD>&lt;less or equal&gt;</TD>
    <TD></TD>
    <TD>[F12] &gt;</TD>
    <TD>&lt;greater or equal&gt;</TD>
    <TD></TD>
    <TD>[F12] @ &gt;</TD>
    <TD>&lt;triangle bullet&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] =</TD>
    <TD>&lt;quote dash&gt;</TD>
    <TD></TD>
    <TD>[F12] ?</TD>
    <TD>&#191;</TD>
    <TD></TD>
    <TD>[F12] A</TD>
    <TD>&Aring;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] C</TD>
    <TD>&Ccedil;</TD>
    <TD></TD>
    <TD>[F12] H</TD>
    <TD>&lt;right index&gt;</TD>
    <TD></TD>
    <TD>[F12] O</TD>
    <TD>&lt;OE lig&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] P</TD>
    <TD>&#167;</TD>
    <TD></TD>
    <TD>[F12] [</TD>
    <TD>&lt;single right quote&gt;</TD>
    <TD></TD>
    <TD>[F12] ]</TD>
    <TD>&lt;single right quote&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] \</TD>
    <TD>&#171;</TD>
    <TD></TD>
    <TD>[F12] @ \</TD>
    <TD>&lt;single guillemot&gt;</TD>
    <TD></TD>
    <TD>[F12] a</TD>
    <TD>&aring;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] c</TD>
    <TD>&ccedil;</TD>
    <TD></TD>
    <TD>[F12] f</TD>
    <TD>&lt;female sign&gt;</TD>
    <TD></TD>
    <TD>[F12] g</TD>
    <TD>&copy;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] h</TD>
    <TD>&lt;left index&gt;</TD>
    <TD></TD>
    <TD>[F12] m</TD>
    <TD>&lt;male sign&gt;</TD>
    <TD></TD>
    <TD>[F12] o</TD>
    <TD>&lt;oe lig&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] p</TD>
    <TD>&#182;</TD>
    <TD></TD>
    <TD>[F12] r</TD>
    <TD>&reg;</TD>
    <TD></TD>
    <TD>[F12] s</TD>
    <TD>&szlig;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] t</TD>
    <TD>TM</TD>
    <TD></TD>
    <TD>[F12] z</TD>
    <TD>&lt;long s&gt;</TD>
    <TD></TD>
    <TD>[F12] {</TD>
    <TD>&lt;left dbl quote&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] }</TD>
    <TD>&lt;right dbl quote&gt;</TD>
    <TD></TD>
    <TD>[F12] |</TD>
    <TD>&#187;</TD>
    <TD></TD>
    <TD>[F12] @ |</TD>
    <TD>&lt;right single guillemot&gt;</TD>
  </TR>
</TABLE>
<P>
This still misses most unicode characters. But pressing [F12] twice will
bring up a dialog which will allow you to select any character in unicode.
<P>
If you type [F12] by mistake then and Escape will get you out of accent mode.
<P>
<P ALIGN=Center>
-- <A HREF="bitmapview.html">Prev</A> -- <A HREF="overview.html">TOC</A>
-- <A HREF="filemenu.html">Next</A> --
</BODY></HTML>