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

📄 os2.htm

📁 TrueType字库标准文档
💻 HTM
📖 第 1 页 / 共 4 页
字号:
<TR>
<TD VALIGN=TOP>LANS</TD><TD VALIGN=TOP>Lanston Type Co., Ltd.</TD></TR>
<TR>
<TD VALIGN=TOP>LEAF</TD><TD VALIGN=TOP>Interleaf, Inc.</TD></TR>
<TR>
<TD VALIGN=TOP>LETR</TD><TD VALIGN=TOP>Letraset
</TD></TR>
<TR>
<TD VALIGN=TOP>LINO</TD><TD VALIGN=TOP>Linotype</TD></TR>
<TR>
<TD VALIGN=TOP>LP</TD><TD VALIGN=TOP>LetterPerfect Fonts</TD></TR>
<TR>
<TD VALIGN=TOP>LTRX</TD><TD VALIGN=TOP>Lighttracks</TD></TR>
<TR>
<TD VALIGN=TOP>MACR</TD><TD VALIGN=TOP>Macromedia</TD></TR>
<TR>
<TD VALIGN=TOP>MONO</TD><TD VALIGN=TOP>Monotype</TD></TR>
<TR>
<TD VALIGN=TOP>MLGC</TD><TD VALIGN=TOP>Micrologic Software</TD></TR>
<TR>
<TD VALIGN=TOP>MS  </TD><TD VALIGN=TOP>Microsoft</TD></TR>
<TR>
<TD VALIGN=TOP>NEC</TD><TD VALIGN=TOP>NEC</TD></TR>
<TR>
<TD VALIGN=TOP>PARA</TD><TD VALIGN=TOP>ParaGraph Intl.</TD></TR>
<TR>
<TD VALIGN=TOP>PRFS</TD><TD VALIGN=TOP>Production First Software</TD></TR>
<TR>
<TD VALIGN=TOP>QMSI</TD><TD VALIGN=TOP>QMS/Imagen</TD></TR>
<TR>
<TD VALIGN=TOP>SFUN</TD><TD VALIGN=TOP>Soft Union</TD></TR>
<TR>
<TD VALIGN=TOP>SOHO</TD>
<TD VALIGN=TOP>Soft Horizons</TD></TR>
<TR>
<TD VALIGN=TOP>SWFT</TD><TD VALIGN=TOP>Swfte International</TD></TR>
<TR>
<TD VALIGN=TOP>TILD</TD><TD VALIGN=TOP>SIA Tilde</TD></TR>
<TR>
<TD VALIGN=TOP>URW </TD><TD VALIGN=TOP>URW</TD></TR>
<TR>
<TD VALIGN=TOP>VLKf</TD>
<TD VALIGN=TOP>Visualogik Technology &amp; Design</TD></TR>
<TR>
<TD VALIGN=TOP>ZSFT</TD><TD VALIGN=TOP>Zsoft</TD></TR>
</TABLE>&nbsp;&nbsp;<P>


<BR>&nbsp;<BR><FONT SIZE=5>fsSelection</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte bit field.</TD></TR>
<TR>
<TD VALIGN=TOP>Title:</TD><TD>Font selection flags.</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>Contains information concerning
the nature of the font patterns, as follows: </TD></TR>
</TABLE>&nbsp;&nbsp;

<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Bit #</TH>
<TH BGCOLOR="#C0C0C0">macStyle bit</TH><TH BGCOLOR="#C0C0C0">C definition</TH>
<TH BGCOLOR="#C0C0C0">Description</TH></TR>
</THEAD><TBODY>
<TR>
<TD VALIGN=TOP>0</TD><TD VALIGN=TOP>bit 1</TD>
<TD VALIGN=TOP>ITALIC</TD><TD VALIGN=TOP>Font contains Italic characters, otherwise they are upright.</TD></TR>
<TR>
<TD VALIGN=TOP>1</TD><TD VALIGN=TOP></TD>
<TD VALIGN=TOP>UNDERSCORE</TD><TD VALIGN=TOP>Characters are underscored.</TD></TR>
<TR>
<TD VALIGN=TOP>2</TD><TD VALIGN=TOP></TD>
<TD VALIGN=TOP>NEGATIVE</TD><TD VALIGN=TOP>Characters have their foreground and background reversed.</TD></TR>
<TR>
<TD VALIGN=TOP>3</TD><TD VALIGN=TOP>&nbsp;</TD>
<TD VALIGN=TOP>OUTLINED</TD><TD VALIGN=TOP>Outline (hollow) characters, otherwise they are solid.</TD></TR>
<TR>
<TD VALIGN=TOP>4</TD><TD VALIGN=TOP>&nbsp;</TD>
<TD VALIGN=TOP>STRIKEOUT</TD><TD VALIGN=TOP>Characters are overstruck.</TD></TR>
<TR>
<TD VALIGN=TOP>5</TD><TD VALIGN=TOP>bit 0</TD>
<TD VALIGN=TOP>BOLD</TD><TD VALIGN=TOP>Characters are emboldened.</TD></TR>
<TR>
<TD VALIGN=TOP>6</TD><TD VALIGN=TOP></TD>
<TD VALIGN=TOP>REGULAR</TD><TD VALIGN=TOP>Characters are in the standard weight/style for the font. </TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>

<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Comments:</TD><TD>All undefined bits must be
zero.
<P>
 This field contains information on the original design of the
font.  Bits 0 &amp; 5 can be used to determine if the font was
designed with these features or whether some type of machine simulation
was performed on the font to achieve this appearance. Bits 1-4
are rarely used bits that indicate the font is primarily a decorative
or special purpose font.
<P>
 If bit 6 is set, then bits 0 and 5 must be clear, else the behavior
is undefined. As noted above, the settings of bits 0 and 1 must
be reflected in the macStyle bits in the 'head' table. While bit
6 on implies that bits 0 and 1 of macStyle are clear (along with
bits 0 and 5 of fsSelection), the reverse is not true. Bits 0
and 1 of macStyle (and 0 and 5 of fsSelection) may be clear and
that does not give any indication of whether or not bit 6 of fsSelection
is clear (e.g., Arial Light would have all bits cleared; it is
not the regular version of Arial). </TD></TR>
</TABLE>&nbsp;&nbsp;
<P>


<BR>&nbsp;<BR><FONT SIZE=5>usFirstCharIndex</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte USHORT</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>The minimum Unicode index (character code) in this
font, according to the cmap subtable for platform ID 3 and encoding
ID 0 or 1. For most fonts supporting Win-ANSI or other character
sets, this value would be 0x0020. </TD></TR>
</TABLE>&nbsp;&nbsp;<P>


<BR>&nbsp;<BR><FONT SIZE=5>usLastCharIndex</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte USHORT</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>The maximum Unicode index (character code) in this
font, according to the cmap subtable for platform ID 3 and encoding
ID 0 or 1. This value depends on which character sets the font
supports. </TD></TR>
</TABLE>&nbsp;&nbsp;
<P>


<BR>&nbsp;<BR><FONT SIZE=5>sTypoAscender</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte SHORT</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>The typographic ascender for this font. Remember
that this is not the same as the Ascender value in the 'hhea'
table, which Apple defines in a far different manner. One good
source for usTypoAscender is the Ascender value from an AFM file.
<P>
 The suggested useage for usTypoAscender is that it be used in
conjunction with unitsPerEm to compute a typographically correct
default line spacing. The goal is to free applications from Macintosh
or Windows-specific metrics which are constrained by backward
compatability requirements. These new metrics, when combined with
the character design widths, will allow applications to lay out
documents in a typographically correct and portable fashion. These
metrics will be exposed through Windows APIs. Macintosh applications
will need to access the 'sfnt' resource and parse it to extract
this data from the &quot;OS/2&quot; table (unless Apple exposes
the 'OS/2' table through a new API). </TD></TR>
</TABLE>&nbsp;&nbsp;<P>


<BR>&nbsp;<BR><FONT SIZE=5>sTypoDescender</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte SHORT</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>The typographic descender for this font. Remember
that this is not the same as the Descender value in the 'hhea'
table, which Apple defines in a far different manner. One good
source for usTypoDescender is the Descender value from an AFM
file.
<P>
 The suggested useage for usTypoDescender is that it be used in
conjunction with unitsPerEm to compute a typographically correct
default line spacing. The goal is to free applications from Macintosh
or Windows-specific metrics which are constrained by backward
compatability requirements. These new metrics, when combined with
the character design widths, will allow applications to lay out
documents in a typographically correct and portable fashion. These
metrics will be exposed through Windows APIs. Macintosh applications
will need to access the 'sfnt' resource and parse it to extract
this data from the &quot;OS/2&quot; table (unless Apple exposes
the 'OS/2' table through a new API). </TD></TR>
</TABLE>&nbsp;&nbsp;<P>


<BR>&nbsp;<BR><FONT SIZE=5>sTypoLineGap</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte SHORT</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>The typographic line gap for this font. Remember
that this is not the same as the LineGap value in the 'hhea' table,
which Apple defines in a far different manner.
<P>
 The suggested useage for usTypoLineGap is that it be used in
conjunction with unitsPerEm to compute a typographically correct
default line spacing. Typical values average 7-10% of units per
em. The goal is to free applications from Macintosh or Windows-specific
metrics which are constrained by backward compatability requirements
(see chapter, &quot;Recommendations for Windows Fonts). These
new metrics, when combined with the character design widths, will
allow applications to lay out documents in a typographically correct
and portable fashion. These metrics will be exposed through Windows
APIs. Macintosh applications will need to access the 'sfnt' resource
and parse it to extract this data from the &quot;OS/2&quot; table
(unless Apple exposes the 'OS/2' table through a new API) </TD></TR>
</TABLE>&nbsp;&nbsp;<P>


<BR>&nbsp;<BR><FONT SIZE=5>usWinAscent</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte USHORT</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>The ascender metric for Windows. This, too, is distinct
from Apple's Ascender value and from the usTypoAscender values.
usWinAscent is computed as the yMax for all characters in the
Windows ANSI character set. usTypoAscent is used to compute the
Windows font height and default line spacing. For platform 3 encoding
0 fonts, it is the same as yMax. </TD></TR>
</TABLE>&nbsp;&nbsp;<P>


<BR>&nbsp;<BR><FONT SIZE=5>usWinDescent</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>2-byte USHORT</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>The descender metric for Windows. This, too, is distinct
from Apple's Descender value and from the usTypoDescender values.
usWinDescent is computed as the -yMin for all characters in the
Windows ANSI character set. usTypoAscent is used to compute the
Windows font height and default line spacing. For platform 3 encoding
0 fonts, it is the same as -yMin. </TD></TR>
</TABLE>&nbsp;&nbsp;
<P>

<BR>&nbsp;<BR><FONT SIZE=5>ulCodePageRange1 Bits 0-31<BR>
ulCodePageRange2 Bits 32-63</FONT>
<TABLE CELLPADDING=2>
<TR>
<TD VALIGN=TOP>Format:</TD><TD>32-bit unsigned long(2 copies) totaling 64 bits.</TD></TR>
<TR>
<TD VALIGN=TOP>Title:</TD><TD>Code Page Character Range</TD></TR>
<TR>
<TD VALIGN=TOP>Description:</TD><TD>This field is used to specify the code pages
encompassed by the font file in the 'cmap' subtable for platform
3, encoding ID 1 (Microsoft platform). If the font file is encoding
ID 0, then the Symbol Character Set bit should be set. If the
bit is set (1) then the code page is considered functional. If
the bit is clear (0) then the code page is not considered functional.
Each of the bits is treated as an independent flag and the bits
can be set in any combination. The determination of &quot;functional&quot;
is left up to the font designer, although character set selection
should attempt to be functional by code pages if at all possible.
<P>
 Symbol character sets have a special meaning. If the symbol bit
(31) is set, and the font file contains a 'cmap' subtable for
platform of 3 and encoding ID of 1, then all of the characters
in the Unicode range 0xF000 - 0xF0FF (inclusive) will be used
to enumerate the symbol character set. If the bit is not set,
any characters present in that range will not be enumerated as
a symbol character set.
<P>
 All reserved fields must be zero. Each long is in Big-Endian
form. </TD></TR>
</TABLE>&nbsp;&nbsp;

<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Bit</TH><TH BGCOLOR="#C0C0C0">Code Page</TH>
<TH BGCOLOR="#C0C0C0">Description</TH></TR>
</THEAD><TBODY>
<TR>
<TD VALIGN=TOP>0</TD><TD VALIGN=TOP>1252</TD>
<TD VALIGN=TOP>Latin 1</TD></TR>
<TR>
<TD VALIGN=TOP>1</TD><TD VALIGN=TOP>1250</TD>
<TD VALIGN=TOP>Latin 2: Eastern Europe</TD></TR>
<TR>
<TD VALIGN=TOP>2</TD><TD VALIGN=TOP>1251</TD>
<TD VALIGN=TOP>Cyrillic</TD></TR>
<TR>
<TD VALIGN=TOP>3</TD><TD VALIGN=TOP>1253</TD>
<TD VALIGN=TOP>Greek</TD></TR>
<TR>
<TD VALIGN=TOP>4</TD><TD VALIGN=TOP>1254</TD>
<TD VALIGN=TOP>Turkish</TD></TR>
<TR>
<TD VALIGN=TOP>5</TD><TD VALIGN=TOP>1255</TD>
<TD VALIGN=TOP>Hebrew</TD></TR>
<TR>
<TD VALIGN=TOP>6</TD><TD VALIGN=TOP>1256</TD>
<TD VALIGN=TOP>Arabic</TD></TR>
<TR>
<TD VALIGN=TOP> 7</TD><TD VALIGN=TOP>1257</TD>
<TD VALIGN=TOP>Windows Baltic</TD></TR>
<TR>
<TD VALIGN=TOP>8-15</TD><TD VALIGN=TOP></TD>
<TD VALIGN=TOP>Reserved for Alternate ANSI</TD></TR>
<TR>
<TD VALIGN=TOP>16</TD><TD VALIGN=TOP> 874</TD>
<TD VALIGN=TOP>Thai</TD></TR>
<TR>
<TD VALIGN=TOP>17</TD><TD VALIGN=TOP> 932</TD>
<TD VALIGN=TOP>JIS/Japan</TD></TR>
<TR>
<TD VALIGN=TOP>18</TD><TD VALIGN=TOP> 936</TD>
<TD VALIGN=TOP>Chinese: Simplified chars--PRC and Singapore</TD></TR>
<TR>
<TD VALIGN=TOP>19</TD><TD VALIGN=TOP> 949</TD>
<TD VALIGN=TOP>Korean Wansung</TD></TR>
<TR>
<TD VALIGN=TOP>20</TD><TD VALIGN=TOP> 950</TD>
<TD VALIGN=TOP>Chinese: Traditional chars--Taiwan and Hong Kong</TD></TR>
<TR>
<TD VALIGN=TOP>21</TD><TD VALIGN=TOP>1361</TD>
<TD VALIGN=TOP>Korean Johab</TD></TR>
<TR>
<TD VALIGN=TOP>22-28</TD><TD VALIGN=TOP></TD>
<TD VALIGN=TOP>Reserved for Alternate ANSI &amp; OEM</TD></TR>
<TR>
<TD VALIGN=TOP>29</TD><TD VALIGN=TOP></TD>
<TD VALIGN=TOP>Macintosh Character Set (US Roman)</TD></TR>
<TR>
<TD VALIGN=TOP>30</TD><TD VALIGN=TOP>&nbsp;</TD>
<TD VALIGN=TOP>OEM Character Set</TD></TR>
<TR>
<TD VALIGN=TOP>31</TD><TD VALIGN=TOP>&nbsp;</TD>
<TD VALIGN=TOP>Symbol Character Set</TD></TR>
<TR>
<TD VALIGN=TOP>32-47</TD><TD VALIGN=TOP>&nbsp;</TD>
<TD VALIGN=TOP>Reserved for OEM</TD></TR>
<TR>
<TD VALIGN=TOP>48</TD><TD VALIGN=TOP> 869</TD>
<TD VALIGN=TOP>IBM Greek</TD></TR>
<TR>
<TD VALIGN=TOP>49</TD><TD VALIGN=TOP> 866</TD>
<TD VALIGN=TOP>MS-DOS Russian</TD></TR>
<TR>
<TD VALIGN=TOP>50</TD><TD VALIGN=TOP> 865</TD>
<TD VALIGN=TOP>MS-DOS Nordic</TD></TR>
<TR>
<TD VALIGN=TOP>51</TD><TD VALIGN=TOP> 864</TD>
<TD VALIGN=TOP>Arabic</TD></TR>
<TR>
<TD VALIGN=TOP>52</TD><TD VALIGN=TOP> 863</TD>
<TD VALIGN=TOP>MS-DOS Canadian French</TD></TR>
<TR>
<TD VALIGN=TOP>53</TD><TD VALIGN=TOP> 862</TD>
<TD VALIGN=TOP>Hebrew</TD></TR>
<TR>
<TD VALIGN=TOP>54</TD><TD VALIGN=TOP> 861</TD>
<TD VALIGN=TOP>MS-DOS Icelandic</TD></TR>
<TR>
<TD VALIGN=TOP>55</TD><TD VALIGN=TOP> 860</TD>
<TD VALIGN=TOP>MS-DOS Portuguese</TD></TR>
<TR>
<TD VALIGN=TOP>56</TD><TD VALIGN=TOP> 857</TD>
<TD VALIGN=TOP>IBM Turkish</TD></TR>
<TR>
<TD VALIGN=TOP>57</TD><TD VALIGN=TOP> 855</TD>
<TD VALIGN=TOP>IBM Cyrillic; primarily Russian</TD></TR>
<TR>
<TD VALIGN=TOP>58</TD><TD VALIGN=TOP> 852</TD>
<TD VALIGN=TOP>Latin 2</TD></TR>
<TR>
<TD VALIGN=TOP>59</TD><TD VALIGN=TOP> 775</TD>
<TD VALIGN=TOP>MS-DOS Baltic</TD></TR>
<TR>
<TD VALIGN=TOP>60</TD><TD VALIGN=TOP> 737</TD>
<TD VALIGN=TOP>Greek; former 437 G</TD></TR>
<TR>
<TD VALIGN=TOP>61</TD><TD VALIGN=TOP> 708</TD>
<TD VALIGN=TOP>Arabic; ASMO 708</TD></TR>
<TR>
<TD VALIGN=TOP>62</TD><TD VALIGN=TOP> 850</TD>
<TD VALIGN=TOP>WE/Latin 1</TD></TR>
<TR>
<TD VALIGN=TOP>63</TD><TD VALIGN=TOP> 437</TD>
<TD VALIGN=TOP>US</TD></TR>
</TABLE>


&nbsp;<br>&nbsp;<br>
<FONT FACE="Arial, Helvetica" SIZE=1>
Microsoft Typography Web Site <A HREF="/truetype/otspec/CPYRIGHT.htm">&copy; 1996 Microsoft Corporation</A>
<BR>
Comments to the Microsoft Typography group: <A HREF="mailto:ttwsite@microsoft.com">ttwsite@microsoft.com</A>
<BR>
<A HREF="/truetype/default.htm">Home</a> | <a href="/truetype/creators.htm">Information for Developers</a>
&nbsp;<BR>
Last updated 05 September 1996
</FONT>
</TD>
</TABLE>
</BODY>
</HTML>



⌨️ 快捷键说明

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