File: ttfinstrs.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 (113 lines) | stat: -rw-r--r-- 6,897 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
<HTML>
<HEAD>
  <!-- Created with AOLpress/2.0 -->
  <!-- AP: Created on: 1-Mar-2003 -->
  <!-- AP: Last modified: 16-Apr-2004 -->
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
  <LINK REL="icon" href="../../_static/fftype16.png">
<!--<TITLE>Viewing and Editing truetype instructions in FontForge.</TITLE>-->
    <TITLE>FontForge で TrueType 命令を閲覧および編集する方法</TITLE>
  <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
</HEAD>
<BODY>
<DIV id="in">
<TABLE ALIGN=RIGHT>
  <TR>
    <TD><IMG src="../../_images/ttfinstrs-view.png" WIDTH="277" HEIGHT="280"><BR>
      <IMG src="../../_images/ttfinstrs-edit.png" WIDTH="277" HEIGHT="280"></TD>
  </TR>
</TABLE>
<H1 ALIGN=Center>
<!--Viewing and Editing truetype instructions in FontForge.-->
    FontForge で TrueType 命令を閲覧および編集する方法
</H1>
<UL>
  <LI>
<!--<A HREF="http://developer.apple.com/fonts/TTRefMan/RM03/Chap3.html">Apple's
    overview on instructing glyphs</A> -->
    <A HREF="http://developer.apple.com/fonts/TTRefMan/RM03/Chap3.html">Apple による、グリフの命令づけに関する概説</A>
  <LI>
<!--<A HREF="http://developer.apple.com/fonts/TTRefMan/RM05/Chap5.html">Apple's
    list of truetype instructions</A> -->
    <A HREF="http://developer.apple.com/fonts/TTRefMan/RM05/Chap5.html">Apple による、TrueType 命令のリスト</A>
  <LI>
<!--<A HREF="http://developer.apple.com/fonts/TTRefMan/RM04/Chap4.html">Apple's
    description of the truetype graphics state</A>-->
    <A HREF="http://developer.apple.com/fonts/TTRefMan/RM04/Chap4.html">Apple による、TrueType グラフィック状態の説明</A>
  <LI>
<!--<A HREF="http://developer.apple.com/fonts/TTRefMan/RM07/appendixA.html">Apple's
    summary of truetype instructions</A> -->
    <A HREF="http://developer.apple.com/fonts/TTRefMan/RM07/appendixA.html">Apple による、TrueType 命令のまとめ</A>
</UL>
<P>
<!--
I shall not attempt to describe the mechanics of instructing truetype, if
you want to understand it I refer you to the above links.
(<A HREF="http://www.microsoft.com/typography/OTSPEC/ttinst.htm">Microsoft
has a similar set </A>in but they are in word format). -->
TrueType の命令づけの機構について説明しようとは思いません。あなたがそれを理解する必要があるならば、上記のリンクを参照してください。
(<A HREF="http://www.microsoft.com/typography/OTSPEC/ttinst.htm">Microsoft も同様の文書を出しています</A>が、それは Word フォーマットで書かれています</A>)。
<P>
<!--
This dialog shows the instructions associated with a glyph or truetype table
(like fpgm or prep). If you move your mouse cursor over one of the instructions
a brief help message will pop up describing that instruction. If you press
the [Edit] button the dlg will change and you will be presented with a editable
textarea containing the same instructions. You may modify these to your heart's
content. Pressing the [Parse] will parse your modifications and (if they
parse) return you to the "help" mode. -->
このダイアログは、グリフまたは TrueType テーブル (fpgm や prep など) に付随する命令を表示します。マウスカーソルをどれかの命令の上に置くと、その命令を解説する簡単なヘルプメッセージが表示されます。<CODE>[編集(<U>E</U>)]</CODE> ボタンを押すと、ダイアログが変更されて、それと同じ命令が編集可能なテキストエリアに含まれた形で表示されます。それらは思うがままに編集することができます。<CODE>[解析(<U>P</U>)]</CODE> ボタンを押すと、変更が解析され、(解析が成功すれば)“ヘルプ”モードに戻ります。
<P>
<!--
Instructions like MIRP may be entered either in FontForge's peculiar (but
marginally more mnemonic) style: <CODE>MIRP[rnd,white] </CODE>or as
<CODE>MIRP[00110]</CODE>, and <CODE>PUSHB_1</CODE> may be
<CODE>PUSHB[000]</CODE>. -->
MIRP のような命令は FontForge の固有の (しかし少しだけ覚えやすい) スタイルで <CODE>MIRP[rnd,white]</CODE> と書くこともでき、<CODE>MIRP[00110]</CODE> と書くこともできます。また、<CODE>PUSHB_1</CODE> と書くことも、<CODE>PUSHB[000]</CODE>と書くこともできます。
<P>
<!--
You may also include an stack arguments on the same line as the instruction
and FontForge will convert them into the appropriate pushes. So... -->
スタック引数を命令と同じ行に含めることができ、FontForge はそれを適切な push 命令に変換します。例えば、
<BLOCKQUOTE>
  <PRE>5 SRP0
</PRE>
</BLOCKQUOTE>
<P>
<!--
is equivalent to -->
<BLOCKQUOTE>
  <PRE>PUSHB_1
5
SRP0
</PRE>
</BLOCKQUOTE>
と等価です。
<P>
<!--
You may also use the expression <CODE>cvt(&lt;val&gt;)</CODE> instead of
a number. This will be replaced by the index in the 'cvt ' table of an entry
which is (within one em-unit of) &lt;val&gt;. So <CODE>cvt(100)</CODE> would
return the index in 'cvt ' of 100. If there is no such entry, FontForge will
create one. -->
式 <CODE>cvt(&lt;val&gt;)</CODE> を数値の変わりに用いることもできます。これらは (1 em ユニット以内の誤差で) &lt;val&gt; である項目の&lsquo;cvt &rsquo;テーブル内のインデックスに置換されます。例えば <CODE>cvt(100)</CODE> は、&lsquo;cvt &rsquo;テーブル内での 100 のインデックスを返します。そのような項目が存在しない場合は、FontForge は項目を作成します。
<H2>
  <IMG src="../../_images/editcvt.png" WIDTH="194" HEIGHT="320" ALIGN="Right"><!--Editing the
  &lsquo;<A NAME="cvt">cvt</A> &rsquo;table directly -->
  &lsquo;<A NAME="cvt">cvt</A> &rsquo;テーブルを直接編集する方法
</H2>
<P>
<!--
This dialog shows the initial contents of the 'cvt ' table (before it has
been modified by the 'prep' program). It is simply a list of signed 16bit
values. You may change any value by clicking on it and typing a new value.
You may add new entries (at the end) with the [change length] button. -->
このダイアログは&lsquo;cvt &rsquo;テーブルの初期の (&lsquo;prep&rsquo; プログラムで変更される前の) 内容を表示します。それは単純に符号つき 16 ビット値のリストです。値をクリックして、新しい値を入力することによって任意の値を変更することができます。新しい項目を (最後に) <CODE>[長さを変更]</CODE> ボタンを押すことによって変更可能です。
<P>
<!--
(You may also use the "<CODE>cvt(&lt;val&gt;)</CODE>" notation described
above to edit the cvt table.) -->
(cvt テーブルを編集するのに、上記の“<CODE>cvt(&lt;val&gt;)</CODE>”記法を使うこともできます。)
</DIV>
</BODY></HTML>