Debian Codegraph @

doc/sphinx/olddocs/old/ja/macformats.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <!-- Created with AOLpress/2.0 -->
4 <!-- AP: Created on: 29-Nov-2001 -->
5 <!-- AP: Last modified: 26-May-2004 -->
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
7 <LINK REL="icon" href="../../_static/fftype16.png">
8 <!--<TITLE>Macintosh font formats</TITLE>-->
9 <TITLE>Macintosh のフォントフォーマット</TITLE>
10 <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
11 </HEAD>
12 <BODY>
13 <DIV id="in">
14 <H1 ALIGN=Center>
15 <!--Macintosh font formats-->
16 Macintosh のフォントフォーマット
17 </H1>
18 <P>
19 <!--
20 The mac stores fonts in resources. It use to store resources in resource
21 forks (which have no representation on unix) but now (Mac OS/X) it also stores
22 them in data forks. -->
23 Mac ではフォントをリソースに格納します。リソースの格納にはリソースフォークを使用します (これに該当するデータ表現は Unix にはありません) が、現在 (Mac OS X) では、データフォークに格納することもあります。
24 <P>
25 <!--
26 Apple (and Adobe) provide some documentation on the mac's formats: -->
27 Apple (および Adobe) は Mac のフォーマットに関するいくつかの文書を提供しています:
28 <UL>
29 <LI>
30 <!--<A HREF="http://developer.apple.com/documentation/mac/MoreToolbox/MoreToolbox-9.html">Mac
31 Resource Fork</A>-->
32 <A HREF="http://developer.apple.com/documentation/mac/MoreToolbox/MoreToolbox-9.html">Mac のリソースフォーク</A>
33 <LI>
34 <!--Mac
35 <A HREF="http://developer.apple.com/documentation/mac/Text/Text-250.html">NFNT/FONT</A>
36 resource -->
37 Mac の <A HREF="http://developer.apple.com/documentation/mac/Text/Text-250.html">NFNT/FONT</A> リソース
38 <LI>
39 <!--Mac
40 <A HREF="http://developer.apple.com/documentation/mac/Text/Text-269.html">FOND</A>
41 resource -->
42 <LI>
43 <!--Mac
44 <A HREF="http://developer.apple.com/documentation/mac/Text/Text-253.html">sfnt</A>
45 resource -->
46 Mac の <A HREF="http://developer.apple.com/documentation/mac/Text/Text-253.html">sfnt</A> リソース
47 <UL>
48 <LI>
49 <!-- This is basically a <A HREF="http://fonts.apple.com/TTRefMan/">truetype</A>
50 font file stuffed into a resource -->
51 これは基本的に <A HREF="http://fonts.apple.com/TTRefMan/">TrueType</A> フォントファイルをリソースの中に詰め込んだものです
52 </UL>
53 <LI>
54 <!--The POST resource -->
55 POST リソース
56 <UL>
57 <LI>
58 <!-- The connection between postscript file and FOND is described in the
59 <A HREF="http://developer.apple.com/documentation/mac/Text/Text-275.html">Style
60 Mapping Table</A> of the FOND -->
61 PostScript ファイルと FOND の結びつきは FOND の <A HREF="http://developer.apple.com/documentation/mac/Text/Text-275.html">スタイルマッピングテーブル</A> で解説されています。
62 <LI>
63 <!-- <A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/T1_SPEC.PDF">Type1
64 postscript fonts </A>are described by Adobe -->
65 <A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/T1_SPEC.PDF">Type1 PostScript フォント</A>の解説は Adobe によるものがあります。
66 <LI>
67 <!-- Adobe also describes how they are
68 <A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/0091.Mac_Fond.pdf">wrapped
69 up on the mac.</A> -->
70 Adobe は、それらに <A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/0091.Mac_Fond.pdf">どのようなラッパを Mac では適用するか</A>も解説しています。
71 </UL>
72 <LI>
73 <!--<A HREF="http://developer.apple.com/documentation/mac/Text/Text-354.html">Macintosh
74 scripts</A> -->
75 <A HREF="http://developer.apple.com/documentation/mac/Text/Text-354.html">Macintosh の 用字系一覧</A>
76 <UL>
77 <LI>
78 <!-- <A HREF="http://developer.apple.com/documentation/mac/Text/Text-367.html#HEADING367-0">Script
79 codes</A> -->
80 <A HREF="http://developer.apple.com/documentation/mac/Text/Text-367.html#HEADING367-0">用字系コード</A>
81 </UL>
82 <LI>
83 <!--<A HREF="http://developer.apple.com/documentation/macosx/Carbon/carbon.html">Carbon
84 (Mac OS/X) docs</A> -->
85 <A HREF="http://developer.apple.com/documentation/macosx/Carbon/carbon.html">Carbon (Mac OS/X) の文書群</A>
86 </UL>
87 <P>
88 <!--
89 <A NAME="dfont">I</A> have not yet found a description of a data fork resource
90 file. I have determined empirically that they look almost the same as
91 <A HREF="http://developer.apple.com/documentation/mac/MoreToolbox/MoreToolbox-9.html">resource
92 fork resource files</A> except that the map table begins with 16 bytes of
93 zeros rather than a copy of the first 16 bytes of the file. To date I have
94 only seen sfnt (and FOND) resources in a data fork resource file (often called
95 a .dfont file). -->
96 <A NAME="dfont">私は</A>データフォークリソースファイルの説明がどこにあるか知りません。私は自分で実験して調べましたが、ほとんど<A HREF="http://developer.apple.com/documentation/mac/MoreToolbox/MoreToolbox-9.html">リソースフォークリソースファイル</A>と同じで、違いはフォントの最初の 16 バイトを繰り返すのではなくて 16 バイト分のゼロを繰り返すことだけのようです。今のところ、データフォークリソースファイル内の sfnt (および FOND) リソース以外のものが含まれているのを見たことがありません (しばしば .dfont ファイルと呼ばれます)。
97 <P>
98 <!--
99 FontForge does not support the old 'fbit' font format for CJK encodings (but
100 then neither does the Mac any more so that's probably not an issue). -->
101 FontForge は、CJK 符号化方式のための古い&lsquo;fbit&rsquo;フォントフォーマットをサポートしていません (今は Mac でもサポートしていないので、これが問題となることはないでしょう)。
102 <P>
103 <!--
104 When an 'sfnt' resource contains a font with a multibyte encoding (CJK or
105 unicode) then the 'FOND' does not have entries for all the characters. The
106 'sfnt' will (always?) have a MacRoman encoding as well as the multibyte encoding
107 and the 'FOND' will contain information on just that subset of the font.
108 (I have determined this empirically, I have seen no documentation on the
109 subject) -->
110 &lsquo;sfnt&rsquo;リソースにマルチバイトエンコーディング (CJK または Unicode) のフォントが含まれている場合、&lsquo;FOND&rsquo;にはすべての文字に対応する項目が含まれていないことになります。&lsquo;sfnt&rsquo;には (常に?) マルチバイトエンコーディングのほかに MacRoman エンコーディングが含まれ、&lsquo;FOND&rsquo;にはフォントのそのサブセットに関する情報のみが含まれます。(これは私が実験により見つけたのもので、これに関する文書はまだ見たことがありません)。
111 <P>
112 <!--
113 Currently bitmap fonts for multibyte encodings are stored inside an sfnt
114 (truetype) resource in the 'bloc' and 'bdat' tables. When this happens there
115 are a series of dummy 'NFNT' resources in the resource file, one for each
116 strike. Each resource is 26 bytes long (which means they contain the FontRec
117 structure but no data tables) and are flagged by having rowWords set to 0.
118 (I have determined this empirically, I have seen no documentation on the
119 subject) -->
120 現在のところマルチバイトエンコーディングのビットマップフォントは&lsquo;bloc&rsquo;および&lsquo;bdat&rsquo;テーブルの sfnt (TrueType) リソースに格納されています。このような場合には、リソースファイルにはダミーの&lsquo;NFNT&rsquo;リソースが、それぞれにたいして 1 つずつ含まれています。
121 各リソースの長さは 26 バイトで (これは、FontRec 構造体が含まれているがデータテーブルは含まれていないことを示します) rowWords が 0 であるというフラグが立っています。
122 (これは私が実験により見つけたのもので、これに関する文書はまだ見たことがありません)。
123 <P>
124 <!--
125 When a 'sfnt' resource contains only bitmaps (and no glyph outlines) it is
126 sometimes called an 'sbit'. -->
127 &lsquo;sfnt&rsquo;リソースがビットマップのみを含んでいる (かつ、グリフアウトラインを含まない) 場合、それは&lsquo;sbit&rsquo;と呼ばれる場合がたまにあります。
128 <H2>
129 <!--Resource forks on Mac OS/X-->
130 Mac OS X におけるリソースフォーク
131 </H2>
132 <P>
133 <!--
134 The unix filename for the resource fork of the file "foo" is "foo/rsrc".
135 (I was told this and it appears to be correct, I have seen no documentation
136 on the subject) -->
137 ファイル“foo”のリソースフォークの Unix ファイル名は“foo/rsrc”です。(これは人に聞いた話で実際にそうであるようです。私はこれに関する文書をまだ見たことがありません)
138 </DIV>
139 </BODY></HTML>