File: MetaFont.html

package info (click to toggle)
fontforge 1%3A20230101~dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 63,260 kB
  • sloc: ansic: 462,618; python: 6,916; cpp: 214; objc: 122; sh: 101; makefile: 55; xml: 11
file content (512 lines) | stat: -rw-r--r-- 16,634 bytes parent folder | download | duplicates (3)
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
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
<HTML>
<HEAD>
  <!-- Created with AOLpress/2.0 -->
  <!-- AP: Created on: 23-Jun-2001 -->
  <!-- AP: Last modified: 13-Oct-2004 -->
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<!--<TITLE>MetaFont - - Standard Transformations on Fonts</TITLE>-->
    <TITLE>MetaFont — フォントに対する標準的な変形</TITLE>
  <LINK REL="icon" href="../../_static/fftype16.png">
  <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
</HEAD>
<BODY>
<DIV id="in">
<H1 ALIGN=Center>
  MetaFont<BR>
<!--
  Standard Transformations on Fonts -->
  フォントに対する標準的変形
</H1>
<P>
<!--
The MetaFont dialog (obviously the name is a rip-off of
<A HREF="http://www.tug.org/">Knuth's work</A>) will try to find important
features of a font and a glyph and allow you to modify them. It does
<EM>not</EM> read TeX .mf files. The features searched for are: -->
MetaFont ダイアログ (明らかにこの名前は <A HREF="http://www.tug.org/">Knuth の仕事</A>からの借り物です) は、フォントの重要な特徴を検出し、それを変更できるようにしようと試みます。これは TeX の .mf ファイルを読み込み<EM>ません</EM>。検索する機能は以下のとおりです:
<UL>
  <LI>
<!--The X-Height.<BR>
    A font-wide attribute, making the X-Height larger relative to the Cap-Height
    will often make the font appear to have a larger point-size (FontForge will
    also search out the Cap-Height, Ascender-Height and Descender, but modification
    of those is less common. Though it is feasible) -->
    x ハイト<BR>
    フォント全体に通底する属性で、x ハイトをキャップハイトに比べて相対的に大きくすると、多くの場合フォントが大きなポイントサイズをもっているように見えます (FontForge はキャップハイト、アセンダおよびディセンダも調べますが、これらを変更するのはあまり一般的ではありません。それは実現可能ではあるでしょうが)
  <LI>
<!--Stems and their widths<BR>
    Modification of a Stem's width makes the font appear Bolder or Lighter -->
    ステムとその幅<BR>
    ステムの幅を変更すると、フォントがより太く、またはより細くなります。
  <LI>
<!--Counters and their widths (a counter is the white space between stems)<BR>
    Modification of a Counter's width makes the font appear Expanded or Condensed -->
    カウンタとその幅 (カウンタとは、ステム間のホワイトスペースです)<BR>
    カウンタの幅を変更すると、フォントがエキスパンデドまたはコンデンストに変わります。
  <LI>
<!--Left and Right Side Bearings<BR>
    Behavior similar to Counter's -->
    左右のサイドベアリング<BR>
    カウンタと同様にふるまいます。
</UL>
<P>
<!--
The results will probably always need to be examined and fixed up by the
human eye, but they may provide a help in changing a font's attributes. At
the moment the command is pretty primitive. -->
おそらく、結果は常に人間の目で確認してから修正を施す必要があるでしょう。とは言え、これらはフォントの属性を変更するのに助けとなるでしょう。現時点では、このコマンドは非常に原始的です。
<P>
<!--
It "works" best on sans serif, non-Oblique fonts.  -->
これはサンセリフの、傾いていないフォントにおいて最もうまく“働き”ます。
  <HR>
<H3>
<!--Bold-->
    ボールド
</H3>
<P>
<!--
Bold fonts have thicker stems and are slightly more extended than normal
fonts. In Knuth's Computers &amp; Typesetting, the bold fonts have a stem
width that is approximately 1.6 (1.68(at 12pt)-1.5(at 5pt)) times the stem
width of the normal font. This is very similar to the 1.75 suggested by
Microsoft's ratio of 700/400 (700 being the numeric weight of a bold font,
and 400 being the numeric weight of a normal font). -->
ボールドフォントはノーマルフォントよりも太いステムをもち、わずかに幅が広げられています。Knuth の Computers &amp; Typesetting では、ボールドフォントはノーマルフォントの約1.6倍 (1.68倍(12pt)〜1.5倍(5pt)) のステム幅をもっています。これは、Microsoft による 700/400 (700 はボールドフォントのウェイトを表す数値で、400 はノーマルフォントのウェイトを表す数値です) という比率が示唆する 1.75 という値とほぼ同じです。
<P>
<!--
In Knuth's Computer Modern Bold Extended Roman, the "m" glyph is extended
to 1.15 times the width of the "m" in Computer Modern Roman, and the x-height
is 1.03 times higher. -->
Knuth の Computer Modern Bold Extended Roman では、“m”のグリフは Computer Modern Roman の“m”の 1.15 倍に広げられており、x ハイトは 1.03 倍高くなっています。
<P>
<TABLE BORDER CELLPADDING="2">
  <TR>
<!--<TD>Font</TD>-->
    <TD>フォント</TD>
<!--<TD>Ratio of Bold/Regular Stems</TD>-->
    <TD>Bold/Regular のステムの比率</TD>
<!--<TD>Ratio of DemiBold/Regular</TD> -->
    <TD>DemiBold/Regular の比率</TD>
<!--<TD>Expansion</TD> -->
    <TD>幅の拡大率</TD>
<!--<TD>Bold serif height/Regular serif</TD> -->
    <TD>Bold のセリフ高/Regular のセリフ高</TD>
<!--<TD>Bold serif width/regular</TD> -->
    <TD>Bold のセリフ幅/Regular</TD>
  </TR>
  <TR>
    <TD>Arial</TD>
    <TD>1.5</TD>
    <TD></TD>
    <TD>1</TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR>
    <TD>Times New Roman</TD>
    <TD>1.7</TD>
    <TD></TD>
    <TD></TD>
    <TD>1</TD>
    <TD>.98</TD>
  </TR>
  <TR>
    <TD>Computer Modern Roman</TD>
<!--<TD>1.68(at 12pt) - 1.5(at 5pt)</TD>-->
    <TD>1.68(12ptの時)〜1.5(5ptの時)</TD>
    <TD></TD>
    <TD>1.15</TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR>
    <TD>Adobe Helvetica</TD>
    <TD>1.6</TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR>
    <TD>Adobe Times</TD>
    <TD>1.56</TD>
    <TD></TD>
    <TD>1.17</TD>
    <TD>1.10</TD>
<!--<TD>.97</TD>-->
    <TD>0.97</TD>
  </TR>
  <TR>
    <TD>Garamond Antiqua</TD>
    <TD></TD>
    <TD>1.5</TD>
    <TD></TD>
    <TD>1.05</TD>
<!--<TD>.90</TD>-->
    <TD>0.90</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
  </TR>
</TABLE>
<P>
<H3>
<!--Point Size-->
    ポイントサイズ
</H3>
<P>
<!--
At first glance this does not seem like much of a transformation, after all
postscript and truetype fonts can be drawn at any pointsize. But traditionally,
as the point-size decreases the boldness (thickness of the stems) increases
slightly, the counters and side bearings also change. For metal type there
were generally three drawings for a glyph in a given font, one for pointsizes
less than 10, one for pointsizes 10,11 and 12, and one for display sizes
(above 12). Most computer vector fonts do not show this change, while Knuth's
Computer Modern fonts have a continuum: -->
PostScript にしろ TrueType にしろ任意のポイントサイズで描けるわけですから、一見して、これは他の変形とはまったく別問題のように見えます。しかし伝統的には、ポイントサイズが小さくなるにつれてボールドネス (ステムの太さ) をわずかに増やし、カウンタとサイドベアリングもそれに合わせて変化させていました。金属活字では一般に、フォント 1 つに対して 3 個の原字が用いられていました。1 個は 10 ポイント未満のサイズ用、1 個は 10, 11 および 12 ポイント用、もう 1 個は (12 ポイントを超える) ディスプレイサイズ用でした。ほとんどの計算機用ベクトルフォントはこの変化を見せませんが、Knuth の Computer Modern フォントは以下のように連続的に変化します:
<TABLE CELLPADDING="2">
  <CAPTION>
<!--Stem width, scaled by point size, made relative to 12pt-->
    ステム幅、ポイントサイズで縮小して、12 ポイントと相対的に比較した値
  </CAPTION>
  <TR>
    <TD></TD>
    <TH>17pt</TH>
    <TH>12pt</TH>
    <TH>10pt</TH>
    <TH>9pt</TH>
    <TH>8pt</TH>
    <TH>7pt</TH>
    <TH>6pt</TH>
    <TH>5pt</TH>
    <TD></TD>
<!--<TH>(12pt compared to cmr 12pt)</TH>-->
    <TH>(cmr 12pt に対する 12pt 時の値)</TH>
  </TR>
  <TR>
    <TH>cmr</TH>
    <TD>83%</TD>
    <TD>100%</TD>
    <TD>109%</TD>
    <TD>116%</TD>
    <TD>120%</TD>
    <TD>124%</TD>
    <TD>130%</TD>
    <TD>139%</TD>
    <TD>Computer Modern Roman</TD>
    <TD>100%</TD>
  </TR>
  <TR>
    <TH>cmti</TH>
    <TD></TD>
    <TD>100%</TD>
    <TD>106%</TD>
    <TD>112%</TD>
    <TD>115%</TD>
    <TD>122%</TD>
    <TD></TD>
    <TD></TD>
    <TD>Computer Modern Text Italic</TD>
    <TD>94%</TD>
  </TR>
  <TR>
    <TH>cmbx</TH>
    <TD></TD>
    <TD>100%</TD>
    <TD>105%</TD>
    <TD>108%</TD>
    <TD>112%</TD>
    <TD>117%</TD>
    <TD>120%</TD>
    <TD>123%</TD>
    <TD>Computer Modern Bold Extended</TD>
    <TD>170%</TD>
  </TR>
  <TR>
    <TH>cmtt</TH>
    <TD></TD>
    <TD>100%</TD>
    <TD>109%</TD>
    <TD>116%</TD>
    <TD>120%</TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD>Computer Modern Typewriter</TD>
    <TD>100%</TD>
  </TR>
  <TR>
    <TH>cmss</TH>
    <TD>99%</TD>
    <TD>100%</TD>
    <TD>102%</TD>
    <TD>109%</TD>
    <TD>113%</TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD>Computer Modern Sans Serif</TD>
    <TD>120%</TD>
  </TR>
</TABLE>
<TABLE CELLPADDING="2">
<CAPTION>
<!--
Stem width, scaled by point size -->
ステム幅 (ポイントサイズで縮小)
</CAPTION>
<TR>
<TD></TD>
<TH>17pt</TH>
<TH>12pt</TH>
<TH>10pt</TH>
<TH>9pt</TH>
<TH>8pt</TH>
<TH>7pt</TH>
<TH>6pt</TH>
<TH>5pt</TH>
</TR>
<TR>
<TH>cmr</TH>
<TD>1.9</TD>
<TD>2.3</TD>
<TD>2.5</TD>
<TD>2.67</TD>
<TD>2.75</TD>
<TD>2.85</TD>
<TD>3</TD>
<TD>3.2</TD>
<TD>Computer Modern Roman</TD>
</TR>
<TR>
<TH>cmti</TH>
<TD></TD>
<TD>2.17</TD>
<TD>2.3</TD>
<TD>2.44</TD>
<TD>2.5</TD>
<TD>2.64</TD>
<TD></TD>
<TD></TD>
<TD>Computer Modern Text Italic</TD>
</TR>
<TR>
<TH>cmbx</TH>
<TD></TD>
<TD>3.9</TD>
<TD>4.1</TD>
<TD>4.2</TD>
<TD>4.37</TD>
<TD>4.57</TD>
<TD>4.67</TD>
<TD>4.8</TD>
<TD>Computer Modern Bold Extended</TD>
</TR>
<TR>
<TH>cmtt</TH>
<TD></TD>
<TD>2.3</TD>
<TD>2.5</TD>
<TD>2.67</TD>
<TD>2.75</TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD>Computer Modern Typewriter</TD>
</TR>
<TR>
<TH>cmss</TH>
<TD>2.71</TD>
<TD>2.75</TD>
<TD>2.8</TD>
<TD>3</TD>
<TD>3.12</TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD>Computer Modern Sans
Serif
<TR>
<TH>cmssi</TH>
<TD></TD>
<TD></TD>
<TD>2.8</TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD>Computer Modern Slanted Sans Serif</TD>
</TR></TD>
</TR>
</TABLE>
<P>
<IMG src="../../_images/CaslonOriginality.png" WIDTH="435" HEIGHT="300" ALIGN="Right">
<P>
<!--
To the left is an example of the same word (taken from a font specimen sheet)
printed at 3 different point sizes (8,12 and 24) and then scaled up to the
same size. The most obvious difference is that the glyphs are proportionally
wider at the smaller pointsizes. It is less apparent that the stems of the
letters are different: -->
左の図は同じ単語の例 (フォント見本帖から取りました) を 3 つの異なるフォントサイズ (8, 12 および 24 ポイント) で印刷した物を同じサイズに拡大した物です。最も明瞭な違いは、小さなポイントサイズではグリフが比例的に幅広になっていることです。文字のステムの違いはそれほど明白ではありません:
<TABLE CELLPADDING="2">
  <TR>
    <TD></TD>
    <TH>24pt</TH>
    <TH>12pt</TH>
    <TH>8pt</TH>
  </TR>
  <TR>
<!--<TD>stem of the "n" (compared to 12pt)</TD>-->
    <TD>“n”のステム (12pt との相対値)</TD>
    <TD>89%</TD>
    <TD>100%</TD>
    <TD>117%</TD>
  </TR>
  <TR>
<!--<TD>counter of the "n" (compared to 12pt)</TD>-->
    <TD>“n”のカウンタ (12pt との相対値)</TD>
    <TD>104%</TD>
    <TD>100%</TD>
    <TD>89%</TD>
  </TR>
  <TR>
<!--<TD>width of "originality" (compared to 12pt)&nbsp;&nbsp;&nbsp;&nbsp;</TD>-->
    <TD>“Originarity”の幅 (12pt との相対値)&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    <TD>93%</TD>
    <TD>100%</TD>
    <TD>104%</TD>
  </TR>
</TABLE>
<P>
<BR Clear=All>
<H3>
<!--SmallCaps-->
    スモールキャップ (小型大文字)
</H3>
<P>
<!--
A SmallCaps font is made by <A HREF="transform.html">scaling</A> the capital
letters to the x-height (so that they are the same height as lower case letters
without ascenders) and then adjusting the stem widths so that they too will
match stem widths of the lower case. -->
スモールキャップフォントは大文字を x ハイトに<A HREF="transform.html">縮小変換</A> (結果として、アセンダをもたない小文字と同じ高さになります) してからステム幅を小文字のステム幅と調和するように調整することによって作成されます。
<H3>
<!--Italic-->
    イタリック
</H3>
<P>
<!--
The Italic transformation contains at least four parts: A change in the
letterforms of the lowercase letters, a <A HREF="transform.html">skew</A>,
and a condensation and a narrowing of the vertical stems.. -->
イタリック変換には少なくとも 4 つの部分が含まれます: 小文字の字形の変更、<A HREF="transform.html">傾き</A> の追加、そしてコンデンス化 (字幅縮小) と垂直ステムの縮小です。
<TABLE BORDER CELLPADDING="2">
  <TR>
    <TD></TD>
<!--<TD>Italic Angle</TD>-->
    <TD>イタリック角</TD>
<!--<TD>Condensation</TD>-->
    <TD>コンデンス化率</TD>
<!--<TD>Stem width change</TD>-->
    <TD>ステム幅の変更</TD>
  </TR>
  <TR>
    <TD>Computer Modern Text Italic</TD>
<!--<TD>14&#186;</TD>-->
    <TD>14°</TD>
    <TD>91%</TD>
    <TD>94%</TD>
  </TR>
  <TR>
    <TD>Times New Roman</TD>
<!--<TD>16&#186;</TD>-->
    <TD>16°</TD>
    <TD>100%</TD>
    <TD>91%</TD>
  </TR>
  <TR>
    <TD>Adobe Times</TD>
    <TD>15</TD>
    <TD>100%</TD>
    <TD>92%</TD>
  </TR>
</TABLE>
<P>
<!--
Letterform changes in Galliard: -->
Galliard における字形の変化:
<IMG src="../../_images/ItalicCompGalliard.png" WIDTH="328" HEIGHT="33">
<P>
<!--
Letterform changes in
Caslon:<IMG WIDTH="368" HEIGHT="48" src="../../_images/ItalicCompCaslon.png"> <BR> -->
Caslon における字形の変化:<IMG WIDTH="368" HEIGHT="48" src="../../_images/ItalicCompCaslon.png"> <BR>
<!--
<SMALL>(These glyphs have been deskewed to display the shape transformation
better.)</SMALL> -->
<SMALL>(これらのグリフは形の変化をいっそう明らかにするために傾きを垂直に戻してあります)。
<P>
<!--
Cyrillic Letterform
changes:<IMG WIDTH="272" HEIGHT="45" src="../../_images/CyrilItalicComp.png"> <BR> -->
キリル文字における字形の変化:<IMG WIDTH="272" HEIGHT="45" src="../../_images/CyrilItalicComp.png"> <BR>
<!--
<SMALL>(These glyphs are also deskewed.)</SMALL> -->
<SMALL>(これらのグリフも傾きを戻してあります。)</SMALL>
<P>
<!--
This is not a complete list, but it shows most of the salient features of
such a transformation. -->
これは完全なリストではありませんが、ここに示したのはこの種の変換のうち最も顕著な特徴があるものです。
<H3>
<!--Oblique-->
    オブリーク (傾斜体)
</H3>
<P>
<!--
The Oblique transformation is a simple <A HREF="transform.html">skew</A>, -->
オブリーク変換は単純な<A HREF="transform.html">傾き</A>を加えるだけです。
<TABLE BORDER CELLPADDING="2">
  <TR>
    <TD>Computer Modern Slanted Sans Serif</TD>
<!--<TD>9.5&#186;</TD>-->
    <TD>9.5°</TD>
  </TR>
  <TR>
<!--<TD>Arial Italic (actually an oblique)</TD>-->
    <TD>Arial Italic (実際にはオブリーク)</TD>
<!--<TD>12&#186;</TD>-->
    <TD>12°</TD>
  </TR>
  <TR>
    <TD>Adobe Helvetica Oblique</TD>
<!--<TD>12&#186;</TD>-->
    <TD>12°</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD></TD>
  </TR>
</TABLE>
<H3>
<!--Extended/Condensed-->
    エクステンディド/コンデンスト
</H3>
<P>
<!--
In these two transformations the stem width is held constant but the horizontal
counter sizes and side bearings are increased (or decreased for condensed). -->
これら 2 つの変換では、ステム幅は一定に保持されますが、水平方向のカウンタサイズとサイドベアリングは増やされます (コンデンストの場合減らされます)。
<H3>
</H3>
</DIV>
</BODY></HTML>