⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 name.htm

📁 TrueType字库标准文档
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<HTML>
<HEAD>
<TITLE>The 'NAME' Table</TITLE>
<STYLE>
<!--
	BODY  {background: #FFFFFF; link: #000080}
	H1	{font-size: 24pt; color: #c60029}
	H2	{font-size: 18pt; color: black}
	H3    {font-size: 16pt; color: black}
	H4    {font-size: 14pt; color: black}
 CAPTION    {font-size: 16pt; font-weight: Bold}
	A:link {text-decoration: none}
-->
</STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000080">
<TABLE WIDTH=480 CELLPADDING=8 CELLSPACING=0 BORDER=0>

<TR><TD><IMG WIDTH=100 HEIGHT=1 ALT="" SRC="/truetype/otspec/pixel.gif" BORDER=0></TD>
<TD><H1>Table Formats</H1></TD></TR>

<TR><TD></TD><TD ALIGN=TOP>
<H2>name - Naming Table</H2>
<P>
The naming table allows multilingual strings to be associated
with the TrueType font file. These strings can represent copyright
notices, font names, family names, style names, and so on. To
keep this table short, the font manufacturer may wish to make
a limited set of entries in some small set of languages; later,
the font can be &quot;localized&quot; and the strings translated
or added. Other parts of the TrueType font file that require these
strings can then refer to them simply by their index number. Clients
that need a particular string can look it up by its platform ID,
character encoding ID, language ID and name ID.  Note that some
platforms may require single byte character strings, while others
may require double byte strings.
<P>
The Naming Table is organized as follows:

<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Type</TH><TH BGCOLOR="#C0C0C0">Description</TH></TR>
</THEAD><TBODY>
<TR>
<TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Format selector (=0).</TD></TR>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Number of NameRecords that follow <CITE>n.</CITE></TD></TR>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Offset to start of string storage (from start of table).</TD></TR>
<TR><TD VALIGN=TOP><CITE>n</CITE>  NameRecords</TD>
<TD VALIGN=TOP>The NameRecords.</TD></TR>
<TR><TD VALIGN=TOP>(Variable)</TD><TD VALIGN=TOP>Storage for the actual string data.</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>
Each <STRONG>NameRecord</STRONG> looks like this:

<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Type</TH>
<TH BGCOLOR="#C0C0C0">Description</TH></TR>
</THEAD><TBODY>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Platform ID.</TD></TR>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Platform-specific encoding ID.</TD></TR>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Language ID.</TD></TR>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Name ID.</TD></TR>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>String length (in bytes).</TD></TR>
<TR><TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>String offset from start of storage area (in bytes).</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>
Following are the descriptions of the four
kinds of ID. Note that the specific values listed here are the
only ones that are predefined; new ones may be added by registry
with Apple Developer Technical Support. Similar to the character
encoding table, the NameRecords is sorted by platform ID, then
platform-specific ID, then language ID, and then by name ID.


<BR>&nbsp;<BR><FONT SIZE=5>Platform ID</FONT>
<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">ID</TH><TH BGCOLOR="#C0C0C0">Platform</TH><TH BGCOLOR="#C0C0C0">Specific encoding</TH></TR>
</THEAD><TBODY>
<TR>
<TR><TD VALIGN=TOP>0</TD><TD VALIGN=TOP>Apple Unicode
<TD VALIGN=TOP>none</TD></TR>
<TR><TD VALIGN=TOP>1</TD><TD VALIGN=TOP>Macintosh
<TD VALIGN=TOP>Script manager code</TD></TR>
<TR><TD VALIGN=TOP>2</TD><TD VALIGN=TOP>ISO
<TD VALIGN=TOP>ISO encoding</TD></TR>
<TR><TD VALIGN=TOP>3</TD><TD VALIGN=TOP><CITE>Microsoft </CITE>
<TD VALIGN=TOP>Microsoft encoding</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>
The values 240 through 255 are reserved for
user-defined platforms. The DTS registry will never assign these
values to a registered platform.

<BR>&nbsp;<BR><FONT SIZE=5><CITE>Microsoft</CITE> platform-specific encoding ID's (platform ID= 3)</FONT>
<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Code</TH><TH BGCOLOR="#C0C0C0">Description</TH></TR>
</THEAD><TBODY>
<TR><TD VALIGN=TOP>0</TD><TD VALIGN=TOP>Undefined character set or indexing scheme
</TR>
<TR><TD VALIGN=TOP>1</TD><TD VALIGN=TOP>UGL character set  with Unicode indexing scheme (see chapter, &quot;Character Sets.&quot;)
</TR>
</TABLE>&nbsp;&nbsp;<P>
<P>
When building a Unicode font for Windows,
the platform ID should be 3 and the encoding ID should be 1. When
building a symbol font for Windows, the platform ID should be
3 and the encoding ID should be 0. When building a font that will
be used on the Macintosh, the platform ID should be 1 and the
encoding ID should be 0.
<P>
The PanEuropean Windows product will contain locale data for the
following locales. This is also the list from which the user may
choose a locale in custom setup and the mapping to Windows and
DOS codepages based on that choice. The language ID (LCID in the
table below) refers to a value which identifies the language in
which a particular string is written.

<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Primary Language</TH>
<TH BGCOLOR="#C0C0C0">Locale Name</TH><TH BGCOLOR="#C0C0C0">LCID</TH><TH BGCOLOR="#C0C0C0">Win CP</TH>
<TH BGCOLOR="#C0C0C0">DOS CP</TH></TR>
</THEAD><TBODY>
<TR><TD VALIGN=TOP>Albanian<SUP>2</SUP></TD><TD VALIGN=TOP>Albania
<TD VALIGN=TOP>(041c; SQI)</TD><TD VALIGN=TOP></TD><TD VALIGN=TOP>
</TR>
<TR><TD VALIGN=TOP>Basque</TD><TD VALIGN=TOP>Basque
<TD VALIGN=TOP>(042D; EUQ)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>Byelorussian</TD>
<TD VALIGN=TOP>Byelorussia</TD><TD VALIGN=TOP>(0423, BEL)</TD><TD VALIGN=TOP>1251
<TD VALIGN=TOP>866</TD></TR>
<TR><TD VALIGN=TOP>Bulgarian</TD><TD VALIGN=TOP>Bulgaria
<TD VALIGN=TOP>(0402, BGR)</TD><TD VALIGN=TOP>1251</TD><TD VALIGN=TOP>866
</TR>
<TR><TD VALIGN=TOP>Catalan</TD><TD VALIGN=TOP>Catalan
<TD VALIGN=TOP>(0403; CAT)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>Croatian</TD><TD VALIGN=TOP>Croatian
<TD VALIGN=TOP>(041a, SHL)</TD><TD VALIGN=TOP>1250</TD><TD VALIGN=TOP>852
</TR>
<TR><TD VALIGN=TOP>Czech</TD><TD VALIGN=TOP>Czech
<TD VALIGN=TOP>(0405; CSY)</TD><TD VALIGN=TOP>1250</TD><TD VALIGN=TOP>852
</TR>
<TR><TD VALIGN=TOP>Danish</TD><TD VALIGN=TOP>Danish
<TD VALIGN=TOP>(0406; DAN)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>865
</TR>
<TR><TD VALIGN=TOP>Dutch (2):</TD><TD VALIGN=TOP>Dutch (Standard)
<TD VALIGN=TOP>(0413; NLD)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>Dutch (2):</TD><TD VALIGN=TOP>Belgian (Flemish)
<TD VALIGN=TOP>(0813; NLB)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>English (6):</TD>
<TD VALIGN=TOP>American</TD><TD VALIGN=TOP>(0409; ENU)</TD><TD VALIGN=TOP>1252
<TD VALIGN=TOP>437</TD></TR>
<TR><TD VALIGN=TOP>English (6):</TD>
<TD VALIGN=TOP>British</TD><TD VALIGN=TOP>(0809; ENG)</TD><TD VALIGN=TOP>1252
<TD VALIGN=TOP>850</TD></TR>
<TR><TD VALIGN=TOP>English (6):</TD>
<TD VALIGN=TOP>Australian</TD><TD VALIGN=TOP>(0c09; ENA)</TD><TD VALIGN=TOP>1252
<TD VALIGN=TOP>850</TD></TR>
<TR><TD VALIGN=TOP>English (6):</TD>
<TD VALIGN=TOP>Canadian</TD><TD VALIGN=TOP>(1009; ENC)</TD><TD VALIGN=TOP>1252
<TD VALIGN=TOP>850</TD></TR>
<TR><TD VALIGN=TOP>English (6):</TD>
<TD VALIGN=TOP>New Zealand</TD><TD VALIGN=TOP>(1409; ENZ)</TD><TD VALIGN=TOP>1252
<TD VALIGN=TOP>850</TD></TR>
<TR><TD VALIGN=TOP>English (6):</TD>
<TD VALIGN=TOP>Ireland</TD><TD VALIGN=TOP>(1809; ENI)</TD><TD VALIGN=TOP>1252
<TD VALIGN=TOP>850</TD></TR>
<TR><TD VALIGN=TOP>Estonian</TD><TD VALIGN=TOP>Estonia
<TD VALIGN=TOP>(0425, ETI)</TD><TD VALIGN=TOP>1257</TD><TD VALIGN=TOP>775
</TR>
<TR><TD VALIGN=TOP>Finnish</TD><TD VALIGN=TOP>Finnish
<TD VALIGN=TOP>(040b; FIN)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>French </TD><TD VALIGN=TOP>French (Standard)
<TD VALIGN=TOP>(040c; FRA)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
</TABLE>&nbsp;&nbsp;<P>
<HR>
<SUP>2</SUP>It is presently unclear whether the Macedonian and Albanian locales will be supported in Chicago.
<HR>

<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TH BGCOLOR="#C0C0C0">Primary Language
<TH BGCOLOR="#C0C0C0">Locale Name</TH><TH BGCOLOR="#C0C0C0">LCID</TH><TH BGCOLOR="#C0C0C0">Win CP
<TH BGCOLOR="#C0C0C0">DOS CP</TD></TR>
<TR><TD VALIGN=TOP>French </TD><TD VALIGN=TOP>Belgian
<TD VALIGN=TOP>(080c; FRB)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>French </TD><TD VALIGN=TOP>Canadian
<TD VALIGN=TOP>(0c0c; FRC)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>French </TD><TD VALIGN=TOP>Swiss
<TD VALIGN=TOP>(100c; FRS)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>French </TD><TD VALIGN=TOP>Luxembourg
<TD VALIGN=TOP>(140c; FRL)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>German</TD><TD VALIGN=TOP>German (Standard)
<TD VALIGN=TOP>(0407; DEU)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>German</TD><TD VALIGN=TOP>Swiss
<TD VALIGN=TOP>(0807; DES)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>German</TD><TD VALIGN=TOP>Austrian
<TD VALIGN=TOP>(0c07; DEA)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>German</TD><TD VALIGN=TOP>Luxembourg
<TD VALIGN=TOP>(1007; DEL)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>German</TD><TD VALIGN=TOP>Liechtenstein
<TD VALIGN=TOP>(1407; DEC)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>Greek</TD><TD VALIGN=TOP>Greek
<TD VALIGN=TOP>(0408; ELL)</TD><TD VALIGN=TOP>1253</TD><TD VALIGN=TOP>737 or 869<sup>4</SUP>
</TR>
<TR><TD VALIGN=TOP>Hungarian</TD><TD VALIGN=TOP>Hungarian
<TD VALIGN=TOP>(040e; HUN)</TD><TD VALIGN=TOP>1250</TD><TD VALIGN=TOP>852
</TR>
<TR><TD VALIGN=TOP>Icelandic</TD><TD VALIGN=TOP>Icelandic
<TD VALIGN=TOP>(040F; ISL)</TD><TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850
</TR>
<TR><TD VALIGN=TOP>Italian (2):</TD>
<TD VALIGN=TOP>Italian (Standard)</TD><TD VALIGN=TOP>(0410; ITA)
<TD VALIGN=TOP>1252</TD><TD VALIGN=TOP>850</TD></TR>
<TR><TD VALIGN=TOP>Italian (2):</TD>
<TD VALIGN=TOP>Swiss</TD><TD VALIGN=TOP>(0810; ITS)</TD><TD VALIGN=TOP>1252

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -